Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/laravel-backpack/filemanager
Admin interface for files & folders, using elFinder.
https://github.com/laravel-backpack/filemanager
Last synced: 7 days ago
JSON representation
Admin interface for files & folders, using elFinder.
- Host: GitHub
- URL: https://github.com/laravel-backpack/filemanager
- Owner: Laravel-Backpack
- License: other
- Created: 2020-03-21T16:54:35.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2024-11-21T15:11:06.000Z (about 1 month ago)
- Last Synced: 2024-12-24T02:48:12.286Z (10 days ago)
- Language: PHP
- Size: 116 KB
- Stars: 98
- Watchers: 6
- Forks: 21
- Open Issues: 5
-
Metadata Files:
- Readme: readme.md
- Changelog: changelog.md
- Contributing: contributing.md
- License: license.md
Awesome Lists containing this project
README
# FileManager
[![Latest Version on Packagist][ico-version]][link-packagist]
[![Total Downloads][ico-downloads]][link-downloads]
[![Build Status][ico-travis]][link-travis]
[![StyleCI][ico-styleci]][link-styleci]Backpack admin interface for files and folder, using [barryvdh/laravel-elfinder](https://github.com/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](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):
``` bash
composer require backpack/filemanager
```Then run the install process:
```bash
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```](https://backpackforlaravel.com/docs/4.1/crud-fields#browse), [```browse_multiple```](https://backpackforlaravel.com/docs/4.1/crud-fields#browse_multiple) or [```ckeditor```](https://backpackforlaravel.com/docs/4.1/crud-fields#ckeditor) field types;## Upgrade
To upgrade from v2 to v3 of this package:
```bash
# 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 [email protected] instead of using the issue tracker.
## Credits
- [Cristian Tabacitu][link-author]
- [All Contributors][link-contributors]## License
MIT. Please see the [license file](license.md) for more information.
[ico-version]: https://img.shields.io/packagist/v/backpack/filemanager.svg?style=flat-square
[ico-downloads]: https://img.shields.io/packagist/dt/backpack/filemanager.svg?style=flat-square
[ico-travis]: https://img.shields.io/travis/backpack/filemanager/master.svg?style=flat-square
[ico-styleci]: https://styleci.io/repos/249020338/shield[link-packagist]: https://packagist.org/packages/backpack/filemanager
[link-downloads]: https://packagist.org/packages/backpack/filemanager
[link-travis]: https://travis-ci.org/backpack/filemanager
[link-styleci]: https://styleci.io/repos/249020338
[link-author]: https://tabacitu.ro
[link-contributors]: ../../contributors