ichbin/filament-elfinder

A Filament Package to integrate elFinder 2

v1.1.0 2023-07-24 03:34 UTC

This package is auto-updated.

Last update: 2024-12-15 07:04:48 UTC


README

Latest Version on Packagist Total Downloads

img

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.