tannhatcms/filemanager

Backpack admin interface for files and folder, using elFinder

Installs: 6

Dependents: 0

Suggesters: 1

Security: 0

Stars: 0

Watchers: 0

Forks: 22

Language:Blade

pkg:composer/tannhatcms/filemanager


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 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;

Customization

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"

Upgrade

To upgrade from v3 to v4 of this package:

# remove the published blade views
rm -rf resources/views/vendor/elfinder

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.