afzalsabbir / filemanager
Backpack admin interface for files and folder, using elFinder
Installs: 125
Dependents: 0
Suggesters: 1
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Language:CSS
Requires
- afzalsabbir/crud: ^4.1|^5.0
- barryvdh/laravel-elfinder: ^0.5.0
Requires (Dev)
- mockery/mockery: ^1.1
- orchestra/testbench: ~3|~4
- phpunit/phpunit: ^8.0
- sempro/phpunit-pretty-print: ^1.0
This package is auto-updated.
Last update: 2024-10-24 21:06:55 UTC
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 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
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;
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.