A file upload/editor intended for use with Laravel 5 and CKEditor
yesteamtech/laravel-file-manager is a Laravel package for a file upload/editor intended for use with laravel 5 and ckeditor.
It currently has 0 GitHub stars and 189 downloads on Packagist (latest version 2.0.0).
Install it with composer require yesteamtech/laravel-file-manager.
Discover more Laravel packages by yesteamtech
or browse all Laravel packages to compare alternatives.
Last updated
A files and images management user interface with file uploading support. (Works well with CKEditor and TinyMCE)
PR is welcome!
composer update unisharp/laravel-filemanagerphp artisan vendor:publish --tag=lfm_view --forcephp artisan vendor:publish --tag=lfm_config --force (IMPORTANT: please backup your own config/lfm.php first)


To use events you can add a listener to listen to the events
Snippet for EventServiceProvider
protected $listen = [
ImageWasUploaded::class => [
UploadListener::class,
],
];
The UploadListener will look like:
class UploadListener
{
public function handle($event)
{
$method = 'on'.class_basename($event);
if (method_exists($this, $method)) {
call_user_func([$this, $method], $event);
}
}
public function onImageWasUploaded(ImageWasUploaded $event)
{
$path = $event->path();
//your code, for example resizing and cropping
}
}
List of events: