CloudFileLinks plugin screenshot
Dark mode ready
Multilingual support
Supports v5.x

CloudFileLinks

Community

A KeyValue-style Filament form field for cloud file links: clickable names, edit/delete actions, and file-type icons.

Tags: Form Field
Supported versions:
5.x 4.x 3.x
Alona avatar Author: Alona

Package health

Beta

Automated checks of this plugin's Composer package

92 / 100
Security 85
Maintenance 100
Ecosystem 100
13 checks
  • Passed: Current Laravel version supported — Package dependencies resolve together with current Laravel 13.0.
  • Passed: Current PHP version supported — Constraint ^8.1 supports current PHP 8.5.
  • Skipped: Current Symfony version supported
  • Passed: Abandoned or archived — No consulted source marks the package abandoned (packagist, github).
  • Passed: Commit and release recency — Active: last commit 0 days ago; last release 0 days ago.
  • Passed: composer.lock not committed by library composer.lock is absent from the released dist archive.
  • Passed: Dist archive is lean
  • Skipped: GitHub Actions pinned to SHA
  • Passed: Open security advisories
  • Passed: Dependabot PR responsiveness — No open Dependabot PRs.
  • Skipped: Dependabot or Renovate configured
  • Skipped: Dependency update cooldown configured
  • Failed: Provides a security policy View details on Plumb
Third-party plugin. This is built by the community, not the Filament team. Filament does not review, endorse, or vet the security of plugins outside the filament/ namespace. Review the source and install at your own risk. Found malware or an unresolved security issue the author won't address? Report it .
Powered by Plumb Last scanned 9 hours ago

Documentation

A Filament form field based on KeyValue. Stores an array of link name => URL for cloud storage file links.

#UI

Looks like KeyValue, but with:

  1. File / Link — clickable name that opens the hidden URL
  2. Edit — modal with the same form as when adding
  3. Delete — removes the row

#Requirements

  • PHP 8.1+
  • Filament Forms 3.x, 4.x, or 5.x

#Installation

composer require alenadashko/filament-cloud-file-links

The service provider is registered via Laravel package discovery.

#Local path development (optional)

{
    "repositories": [
        {
            "type": "path",
            "url": "../filament-cloud-file-links",
            "options": {
                "symlink": true
            }
        }
    ],
    "require": {
        "alenadashko/filament-cloud-file-links": "^2.0"
    }
}
composer update alenadashko/filament-cloud-file-links

#Usage

use FilamentCloudFileLinks\Forms\Components\CloudFileLinks;

CloudFileLinks::make('cloud_files')
    ->label('Cloud files')

Cast the model attribute to array (same as KeyValue):

protected $casts = [
    'cloud_files' => 'array',
];

Stored value shape:

[
    'Contract.pdf' => 'https://storage.example.com/files/abc123',
    'Passport scan' => 'https://storage.example.com/files/def456',
]

#Customization

CloudFileLinks::make('cloud_files')
    ->fileLabel('Documents')
    ->emptyLabel('No documents yet')
    ->nameFieldLabel('Name')
    ->urlFieldLabel('URL')
    ->nameFieldPlaceholder('e.g. Certificate of completion')
    ->urlFieldPlaceholder('https://...')
    ->addActionLabel('Add document')
    ->editActionLabel('Edit document')
    ->addable()
    ->deletable()
    ->deleteRequiresConfirmation()
    ->deleteConfirmationModalHeading('Delete document')
    ->deleteConfirmationModalDescription('This cannot be undone.')
    ->deleteConfirmationModalSubmitActionLabel('Yes, delete')
    ->deleteConfirmationModalCancelActionLabel('Cancel')
    ->editableKeys()   // together with editableValues controls the Edit button
    ->editableValues();

#License

MIT