amirhellboy/filament-filemanager
最新稳定版本:v1.0.10
Composer 安装命令:
composer require amirhellboy/filament-filemanager
包简介
File Manager for Filament
README 文档
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.
统计信息
- 总下载量: 31
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-09-18