PHP code example of amirhellboy / filament-filemanager

1. Go to this page and download the library: Download amirhellboy/filament-filemanager library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

amirhellboy / filament-filemanager example snippets


use Amirhellboy\FilamentFileManager\Forms\Components\FileManagerPicker;

FileManagerPicker::make('avatar')
	->columnSpanFull()
	->

"disk" => "local",
"allowed_mimes" => [
	'jpg', 'jpeg', 'png', 'gif', 'webp', 'pdf', 'doc', 'docx', 'xls', 'xlsx', 'zip', 'rar', 'mp4', 'mp3'
],
bash
php artisan vendor:publish --provider="Amirhellboy\FilamentFileManager\Providers\FileManagerServiceProvider"
bash
php artisan vendor:publish --tag="filament-filemanager-config"