ichbin / filament-elfinder
A Filament Package to integrate elFinder 2
v1.1.0
2023-07-24 03:34 UTC
Requires
- php: ^8.0
- filament/filament: ^2.0
- illuminate/contracts: ^9.0|^10.0
- illuminate/support: ^9|^10
- spatie/laravel-package-tools: ^1.13.5
- studio-42/elfinder: ~2.1.62
Requires (Dev)
- nunomaduro/collision: ^6.0
- orchestra/testbench: ^7.0
- pestphp/pest: ^1.21
- pestphp/pest-plugin-laravel: ^1.1
- pestphp/pest-plugin-livewire: ^1.0
- pestphp/pest-plugin-parallel: ^0.3
- phpunit/phpunit: ^9.5
- spatie/laravel-ray: ^1.26
This package is auto-updated.
Last update: 2024-12-15 07:04:48 UTC
README
Installation
You can install the package via composer:
composer require ichbin/filament-elfinder
To install the plugin run
php artisan filament-elfinder:install
This is the contents of the published config file:
return array( // Group the menu item belongs to 'group' => 'FileManager', // Sidebar label 'label' => 'Files', // title 'title'=> 'File Manager', 'icon' => 'heroicon-o-document', // Slug 'slug' => '/admin/elfinder', /* |-------------------------------------------------------------------------- | Upload dir |-------------------------------------------------------------------------- | | The dir where to store the images (relative from public) | */ 'dir' => ['storage'], /* |-------------------------------------------------------------------------- | Filesystem disks (Flysytem) |-------------------------------------------------------------------------- | | Define an array of Filesystem disks, which use Flysystem. | You can set extra options, example: | | 'my-disk' => [ | 'URL' => url('to/disk'), | 'alias' => 'Local storage', | ] */ 'disks' => [ ], /* |-------------------------------------------------------------------------- | Roots |-------------------------------------------------------------------------- | | By default, the roots file is LocalFileSystem, with the above public dir. | If you want custom options, you can set your own roots below. | */ 'roots' => null, /* |-------------------------------------------------------------------------- | Options |-------------------------------------------------------------------------- | | These options are merged, together with 'roots' and passed to the Connector. | See https://github.com/Studio-42/elFinder/wiki/Connector-configuration-options-2.1 | */ 'options' => array(), /* |-------------------------------------------------------------------------- | Root Options |-------------------------------------------------------------------------- | | These options are merged, together with every root by default. | See https://github.com/Studio-42/elFinder/wiki/Connector-configuration-options-2.1#root-options | */ 'root_options' => array( ), );
Credits
License
The MIT License (MIT). Please see License File for more information.