amirhellboy / filament-filemanager
File Manager for Filament
Installs: 1
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
Language:Blade
Requires
- php: ^8.1
- spatie/laravel-package-tools: ^1
This package is auto-updated.
Last update: 2025-09-18 08:50:40 UTC
README
Filament Admin/Forms.
Installation
1-Install the package via composer
composer require amirhellboy/filament-filemanager
2-Publish assets
php artisan vendor:publish --provider="Amirhellboy\FilamentFileManager\Providers\FileManagerServiceProvider"
Usage
The editor extends the default Field class so most other methods available on that class can be used when adding it to a form.
use Amirhellboy\FilamentFileManager\Forms\Components\FileManagerPicker; FileManagerPicker::make('avatar') ->columnSpanFull() ->required() ->label('انتخاب فایل'),
Config
The plugin will work without publishing the config, but should you need to change any of the default settings you can publish the config file with the following Artisan command:
php artisan vendor:publish --tag="filament-filemanager-config"
Profiles / Tools
The package comes with 4 profiles (or toolbars) out of the box. You can also use a pipe |
to separate tools into groups. The default profile is the full set of tools.
"disk" => "local", "allowed_mimes" => [ 'jpg', 'jpeg', 'png', 'gif', 'webp', 'pdf', 'doc', 'docx', 'xls', 'xlsx', 'zip', 'rar', 'mp4', 'mp3' ],
Versioning
This project follow the Semantic Versioning guidelines.
License
Licensed under the MIT license, see LICENSE.md for details.