Download the PHP package dandisy/filemanager without Composer
On this page you can find all versions of the php package dandisy/filemanager. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package filemanager
FileManager for Webcore
Custom file manager for Webcore
For https://github.com/dandisy/webcore
based on https://github.com/Krato/Laravel-5-File-Manager
Note
add meta csrf_token in html head section
<meta name="csrf-token" content="{{ csrf_token() }}">
Dependencies
Webcore settings system
add uploadCropped route
Route::post('uploadCropped', function(Request $request) {
$folderPath = storage_path('app/public');
$image_parts = explode(";base64,", $request->img);
$image_type_aux = explode("image/", $image_parts[0]);
$image_type = $image_type_aux[1];
$image_base64 = base64_decode($image_parts[1]);
$file = $folderPath . '/cropped-' . uniqid() . '.'.$image_type;
file_put_contents($file, $image_base64);
});
Image Manipulation
-
using league/glide-laravel
- using intervention/image
Installation
First require this package:
Add the provider on ‘app.php’:
Aliase to Zipper
is automatic loaded from `FileManagerServiceProvider (It's required to download folders in zip format):
Publish config, views and public files:
Then you need to modify options on new file on options filemanager.php
You can see your new FileManager. Default to: assets
.
Dialog (Modal) version
FileManager has also a dialog or modal version.
How to use dialog as file selector
More Screenshots
ToDo
- Better docs
Thanks
- Daniel Morales: dmuploader
- SWIS: contextMenu
- Nils Plaschke: Chumper/Zipper
License: MIT