- Document : unisharp.github.io/laravel-filemanager
- Demo : Laravel Filemanager container
- Please follow the intructions in upgrade document.
- Important changes :
- Fix Windows compatibility (utf-8 file names and folder names).
- New feature : Copy & Crop. Thanks gwleuverink.
- Config document is refactored.
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.
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:
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...
});
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.
- (done) Unit test
- (done) Integrate with Laravel Storage
- (done) Multiple selection
- (done) Responsive design
- (done) Config refactoring
- (done) JSON APIs
- Move to folder function
- (in progress) Applying MIME icon generator
- (done) Configurable disk of storage
- (done) Bootstrap 4 support
- (done) Remove bootbox
- Stream
- @gwleuverink
- All @UniSharp members
- All contibutors from GitHub. (issues / PR)
- @taswler the original author of this package.
- Nathan for providing security suggestions.
- @olivervogel for the awesome image library.
- SVG Loaders by Sam (Licensed MIT)