Backpack admin interface for files and folder, using barryvdh/laravel-elfinder. This package literally just:
- creates a
public/uploadsfolder; - installs
barryvdh/laravel-elfinder; - publishes an elFinder config and view, for elFinder to play nice with Backpack;
- adds a menu item to the sidebar;
From your command line, require the package (this will also require barryvdh/laravel-elfinder):
composer require backpack/filemanagerThen run the install process:
php artisan backpack:filemanager:installThat's it. Hit refresh in your admin panel, and you'll find a new sidebar item pointing to the File Manager.
You can use elFinder in Backpack:
- stand-alone, by accessing the
/admin/elfinderroute (see screenshot above); - inside the
browse,browse_multiple;
You can publish the views to your resources/views/vendor/backpack/filemanager folder by running:
php vendor:publish --provider="Backpack\FileManager\FileManagerServiceProvider" --tag="elfinder-views"
php vendor:publish --provider="Backpack\FileManager\FileManagerServiceProvider" --tag="elfinder-fields"
php vendor:publish --provider="Backpack\FileManager\FileManagerServiceProvider" --tag="elfinder-columns"
To upgrade from v3 to v4 of this package:
# remove the published blade views
rm -rf resources/views/vendor/elfinderIf you discover any security related issues, please email [email protected] instead of using the issue tracker.
MIT. Please see the license file for more information.
