laravel-6 support
This commit is contained in:
124
vendor/unisharp/laravel-filemanager/README.md
vendored
124
vendor/unisharp/laravel-filemanager/README.md
vendored
@@ -1,71 +1,85 @@
|
||||
# Laravel Filemanager
|
||||
[](https://packagist.org/packages/unisharp/laravel-filemanager)
|
||||
[](https://packagist.org/packages/unisharp/laravel-filemanager)
|
||||
[](https://packagist.org/packages/unisharp/laravel-filemanager)
|
||||
<p align="center"><img src="https://unisharp.github.io/laravel-filemanager/images/logo_vertical_colored.png"></p>
|
||||
|
||||
* Document : [unisharp.github.io/laravel-filemanager](http://unisharp.github.io/laravel-filemanager/)
|
||||
* [Installation](http://unisharp.github.io/laravel-filemanager/installation)
|
||||
* [Integration](http://unisharp.github.io/laravel-filemanager/integration)
|
||||
* [Config](http://unisharp.github.io/laravel-filemanager/config)
|
||||
* [Customization](http://unisharp.github.io/laravel-filemanager/customization)
|
||||
* [Events](http://unisharp.github.io/laravel-filemanager/events)
|
||||
* [Upgrade](http://unisharp.github.io/laravel-filemanager/upgrade)
|
||||
* Demo : [Laravel Filemanager container](https://github.com/UniSharp/laravel-filemanager-example-5.3)
|
||||
<p align="center">
|
||||
<a target="_blank" href="https://packagist.org/packages/unisharp/laravel-filemanager"><img src="https://poser.pugx.org/unisharp/laravel-filemanager/downloads"></a>
|
||||
<a target="_blank" href="https://packagist.org/packages/unisharp/laravel-filemanager"><img src="https://img.shields.io/packagist/dm/unisharp/laravel-filemanager.svg"></a>
|
||||
<a target="_blank" href="https://packagist.org/packages/unisharp/laravel-filemanager"><img src="https://img.shields.io/badge/stable-2.4.1-blue.svg"></a>
|
||||
<a target="_blank" href="https://packagist.org/packages/unisharp/laravel-filemanager"><img src="https://poser.pugx.org/unisharp/laravel-filemanager/license"></a>
|
||||
<br>
|
||||
<a href="https://github.styleci.io/repos/39873788?branch=master"><img src="https://github.styleci.io/repos/39873788/shield?branch=master" alt="StyleCI"></a>
|
||||
<a target="_blank" href="https://scrutinizer-ci.com/g/UniSharp/laravel-filemanager/?branch=master"><img src="https://scrutinizer-ci.com/g/UniSharp/laravel-filemanager/badges/build.png?b=master"></a>
|
||||
<a target="_blank" href="https://scrutinizer-ci.com/g/UniSharp/laravel-filemanager/"><img src="https://scrutinizer-ci.com/g/UniSharp/laravel-filemanager/badges/quality-score.png?b=master"></a>
|
||||
<a target="_blank" href="https://codeclimate.com/github/UniSharp/laravel-filemanager/maintainability"><img src="https://api.codeclimate.com/v1/badges/e51f2ef8f4d9f97268db/maintainability" /></a>
|
||||
</p>
|
||||
|
||||
## v1.8 released
|
||||
* Please follow the intructions in [upgrade document](https://unisharp.github.io/laravel-filemanager/upgrade).
|
||||
* Important changes :
|
||||
* Fix Windows compatibility (utf-8 file names and folder names).
|
||||
* New feature : Copy & Crop. Thanks [gwleuverink](https://github.com/gwleuverink).
|
||||
* [Config document](https://unisharp.github.io/laravel-filemanager/config) is refactored.
|
||||
<p align="center">
|
||||
<a href="http://unisharp.github.io/laravel-filemanager/">Documents</a>
|
||||
・
|
||||
<a href="http://unisharp.github.io/laravel-filemanager/installation">Installation</a>
|
||||
・
|
||||
<a href="http://unisharp.github.io/laravel-filemanager/integration">Integration</a>
|
||||
・
|
||||
<a href="http://unisharp.github.io/laravel-filemanager/config">Config</a>
|
||||
・
|
||||
<a href="http://unisharp.github.io/laravel-filemanager/customization">Customization</a>
|
||||
・
|
||||
<a href="http://unisharp.github.io/laravel-filemanager/events">Events</a>
|
||||
・
|
||||
<a href="http://unisharp.github.io/laravel-filemanager/upgrade">Upgrade</a>
|
||||
・
|
||||
<a href="https://github.com/UniSharp/laravel-filemanager-example-5.3">Demo</a>
|
||||
・
|
||||
<a href="https://github.com/UniSharp/laravel-filemanager/wiki">FAQ</a>
|
||||
</p>
|
||||
|
||||
## Security
|
||||
## Features
|
||||
* File upload and management
|
||||
* Uploading validation
|
||||
* Cropping and resizing of images
|
||||
* RWD user interface, and can be entirely customized
|
||||
* Supporting multiple files selection
|
||||
* Supporting cloud storages integration(with Laravel file system)
|
||||
* Multiple integration options:
|
||||
* WYSIWYG editors integration (CKEditor, TinyMCE, Summernote)
|
||||
* Standalone upload button
|
||||
* Iframe
|
||||
* Multi-user mode:
|
||||
* Shared folders: all users can upload and manage files
|
||||
* Private folders: dedicated folder for each user, only the owner can upload or manage files within
|
||||
* Customizable routes, middlewares, views, and folder path
|
||||
* Supports two categories: files and images. Each type works in different directory.
|
||||
* Supported locales : ar, az, bg, cs, de, el, en, es, eu, fa, fr, he, hu, id, it, ka, nl, pl, pt, pt-BR, ro, rs, ru, sk, sv, tr, uk, vi, zh-CN, zh-TW
|
||||
|
||||
It is important to note that if you use your own routes **you must protect your routes to Laravel-Filemanager in order to prevent unauthorized uploads to your server**. Fortunately, Laravel makes this very easy.
|
||||
## v2.0 backlogs
|
||||
|
||||
If, for example, you want to ensure that only logged in users have the ability to access the Laravel-Filemanager, simply wrap the routes in a group, perhaps like this:
|
||||
There are still some thing we need to do make this package better:
|
||||
* [x] Documents for v2.0.0
|
||||
* [x] Add more events for files and folders manipulation
|
||||
* [ ] Events should pass object instead of only file path
|
||||
|
||||
```php
|
||||
Route::group(['middleware' => 'auth'], function () {
|
||||
Route::get('/laravel-filemanager', '\UniSharp\LaravelFilemanager\controllers\LfmController@show');
|
||||
Route::post('/laravel-filemanager/upload', '\UniSharp\LaravelFilemanager\controllers\UploadController@upload');
|
||||
// list all lfm routes here...
|
||||
});
|
||||
```
|
||||
We are also going to gain more integration like vue.js and Laravel Nova. Any PR is welcome!
|
||||
|
||||
This approach ensures that only authenticated users have access to the Laravel-Filemanager. If you are using Middleware or some other approach to enforce security, modify as needed.
|
||||

|
||||
|
||||
**If you use the laravel-filemanager default route, make sure the `auth` middleware (set in config/lfm.php) is enabled and functional**.
|
||||
## Maintainers
|
||||
|
||||
## v2.0 progress
|
||||
* [x] (done) Unit test
|
||||
* [x] (done) Integrate with Laravel Storage
|
||||
* [x] (done) Multiple selection
|
||||
* [ ] Configurable disk of storage
|
||||
* [ ] (in progress) Responsive design
|
||||
* [ ] (in progress) Config refactoring
|
||||
* [x] (done) JSON APIs
|
||||
* [ ] Move to folder function
|
||||
* [ ] Applying MIME icon generator
|
||||
* [x] (done) Bootstrap 4 support
|
||||
* [Stream](https://github.com/streamtw)
|
||||
* [Youchen Lee](https://github.com/youchenlee)
|
||||
* [Willem Leuverink](https://github.com/gwleuverink)
|
||||
|
||||
## Contributors
|
||||
|
||||
## Contributors & Credits
|
||||
|
||||
### Developers / Maintainers
|
||||
|
||||
* [Stream](https://github.com/g0110280)
|
||||
* [@gwleuverink](https://github.com/gwleuverink)
|
||||
* All [@UniSharp](https://github.com/UniSharp) members
|
||||
|
||||
### Contributors
|
||||
|
||||
* Security contributors (sort by alphabet)
|
||||
* Ayon Hasan (@lollipopl337)
|
||||
* Nathan
|
||||
* [@mdnazmulhasan27771](https://github.com/mdnazmulhasan27771) the designer of our logo. (Licensed CC BY 4.0)
|
||||
* [All contibutors](https://github.com/UniSharp/laravel-filemanager/graphs/contributors) from GitHub. (issues / PR)
|
||||
|
||||
## Credits
|
||||
|
||||
* [@taswler](https://github.com/tsawler) the original author of this package.
|
||||
* Nathan for providing security suggestions.
|
||||
|
||||
### Credits
|
||||
|
||||
* [@olivervogel](https://github.com/olivervogel) for the awesome [image library](https://github.com/Intervention/image).
|
||||
* SVG Loaders by [Sam](http://samherbert.net/svg-loaders/) (Licensed MIT)
|
||||
|
||||
* Articles and videos which helped promoting this package.
|
||||
* All users and you.
|
||||
|
Reference in New Issue
Block a user