backpack / filemanager
Backpack admin interface for files and folder, using elFinder
Installs: 345 332
Dependents: 10
Suggesters: 13
Security: 1
Stars: 95
Watchers: 6
Forks: 21
Open Issues: 4
Requires
- backpack/crud: ^6.0
- barryvdh/laravel-elfinder: ^0.5.2
Requires (Dev)
- mockery/mockery: ^1.5
- orchestra/testbench: ^8
- phpunit/phpunit: ^10.0
README
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;
Installation
From your command line, require the package (this will also require barryvdh/laravel-elfinder):
composer require backpack/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.
Usage
You can use elFinder in Backpack:
- stand-alone, by accessing the
/admin/elfinder
route (see screenshot above); - inside the
browse
,browse_multiple
orckeditor
field types;
Upgrade
To upgrade from v2 to v3 of this package:
# remove the published blade views rm -rf resources/views/vendor/elfinder # publish the new blade views php artisan backpack:filemanager:install
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.