afzalsabbir/filemanager

Backpack admin interface for files and folder, using elFinder

v2.0.0 2022-06-24 10:08 UTC

This package is auto-updated.

Last update: 2024-10-24 21:06:55 UTC


README

Latest Version on Packagist Total Downloads Build Status StyleCI

Backpack admin interface for files and folder, using barryvdh/laravel-elfinder. This package literally just:

  • creates a public/uploads folder;
  • installs barryvdh/laravel-elfinder;
  • publishes an elFinder config and view, for elFinder to play nice with Backpack;
  • adds a menu item to the sidebar;

https://backpackforlaravel.com/uploads/docs-4-0/media_library.png

Installation

From your command line, require the package (this will also require barryvdh/laravel-elfinder):

composer require afzalsabbir/filemanager

Then run the install process:

php artisan backpack:filemanager:install

That's it. Hit refresh in your admin panel, and you'll find a new sidebar item pointing to the File Manager.

Theme

Setup \Backpack\FileManager\Middleware\FileManagerMiddleware

Add this line in file: app\Http\Kernel.php and property: $middlewareGroups['web']

protected $middlewareGroups = [
    'web' => [
        ...
        \Backpack\FileManager\Middleware\FileManagerMiddleware::class,
        ...
    ],
];

Then publish the config, assets and view files:

php artisan vendor:publish --provider=Backpack\FileManager\FileManagerServiceProvider

download.png

Usage

You can use elFinder in Backpack:

Security

If you discover any security related issues, please email tabacitu@backpackforlaravel.com instead of using the issue tracker.

Credits

License

MIT. Please see the license file for more information.