skyraptor / laravel-filemanager
A file upload/editor intended for use with Laravel 5 and CKEditor / TinyMCE
Requires
- php: >=5.4.0
- ext-exif: *
- ext-fileinfo: *
- illuminate/config: 5.4.* || 5.5.* || 5.6.* || 5.7.*
- illuminate/container: 5.4.* || 5.5.* || 5.6.* || 5.7.*
- illuminate/filesystem: 5.4.* || 5.5.* || 5.6.* || 5.7.*
- illuminate/http: 5.4.* || 5.5.* || 5.6.* || 5.7.*
- illuminate/support: 5.4.* || 5.5.* || 5.6.* || 5.7.*
- intervention/image: 2.*
Requires (Dev)
- mockery/mockery: ^0.9.9
- phpunit/phpunit: ^6.2
- squizlabs/php_codesniffer: ^3.1
Suggests
- ext-gd: to use GD library based image processing.
- ext-imagick: to use Imagick based image processing.
- dev-master
- v2.0.0-alpha7
- v2.0.0-alpha6
- v2.0.0-alpha5
- v2.0.0-alpha4
- v2.0.0-alpha3
- v2.0.0-alpha2
- v2.0.0-alpha
- v1.x-dev
- v1.9.2
- v1.9.1
- v1.9.0
- v1.8.5
- v1.8.4
- v1.8.3
- v1.8.2.2
- v1.8.2.1
- v1.8.2
- v1.8.2-alpha
- v1.8.1
- v1.8.0
- v1.7.7
- v1.7.6
- v1.7.5
- v1.7.4
- v1.7.3
- v1.7.2
- v1.7.1
- v1.7.0
- v1.7-alpha
- 1.6.4
- 1.6.3
- 1.6.2
- 1.6.1
- 1.6.0
- 1.5.2
- 1.5.1
- 1.5.0
- 1.4.0-alpha
- 1.3.0-alpha
- 1.2.0
- 1.1.1
- 1.1.0
- 1.1.0-alpha
- 1.0.0
- 0.5.3
- 0.5.2
- 0.5.1
- 0.5.0
- 0.3.1
- 0.3.0
- 0.2.0
- 0.1.0
- dev-official
- dev-laravel-50
This package is auto-updated.
Last update: 2024-10-29 05:51:52 UTC
README
Documents ・ Installation ・ Integration ・ Config ・ Customization ・ Events ・ Upgrade ・ Demo ・ FAQ
Installing alpha version
The alpha version of v2.0
contains support of cloud storage and fresh new UI with RWD.
- Run
composer require unisharp/laravel-filemanager:dev-master
to get the latest code. - Run
composer require unisharp/laravel-filemanager:v2.0.0-alpha7
to get the latest release of alpha version.
v2.0 progress
- (done) Unit test
- (done) Integrate with Laravel Storage
- (done) Multiple selection
- (done) Responsive design
- (done) Config refactoring
- (done) JSON APIs
- (done) Move to folder function
- (done) Applying MIME icon generator
- (done) Refactor floating action buttons
- (done) Configurable disk of storage
- (done) Bootstrap 4 support
- (done) Remove bootbox
- Documents for v2.0
- (done) Resize function RWD refactor
- ConfigHandler should overwrite most configs
- Events should pass object instead of only file path
- Add more events for files and folders manipulation
Documents of V1
https://github.com/UniSharp/laravel-filemanager/tree/v1/docs
Errors with namespace
We have changed namespace from Unisharp
to UniSharp
, and change the first character of every namespace into capital.
If you are updating this package and encounter any errors like Class not found
, please remove this package entirely and reinstall again.
v1.8 released
- 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.
Security
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.
Contributors & Credits
Developers / Maintainers
- Stream
- @gwleuverink
- All @UniSharp members
Contributors
- All contibutors from GitHub. (issues / PR)
- @taswler the original author of this package.
- Nathan for providing security suggestions.
- @mdnazmulhasan27771 the designer of our logo. (Licensed CC BY 4.0)
Credits
- @olivervogel for the awesome image library.
- SVG Loaders by Sam (Licensed MIT)
- Articles and videos which helped promoting this package.
- All users and you.