vovacorgo/filament-elfinder

A Filament Package to integrate elFinder 2

dev-master 2023-08-17 06:40 UTC

This package is not auto-updated.

Last update: 2024-10-25 10:23:47 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.