2017 © Pedro Peláez
 

library laravel-file-manager

A file upload/editor intended for use with Laravel 5 and CKEditor

image

yesteamtech/laravel-file-manager

A file upload/editor intended for use with Laravel 5 and CKEditor

  • Thursday, May 24, 2018
  • by vinodraut
  • Repository
  • 1 Watchers
  • 0 Stars
  • 122 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 291 Forks
  • 0 Open issues
  • 5 Versions
  • 13 % Grown

The README.md

Laravel Filemanager

Latest Stable Version Total Downloads Latest Unstable Version License, (*1)

A files and images management user interface with file uploading support. (Works well with CKEditor and TinyMCE), (*2)

PR is welcome!, (*3)

Overview

  • The project was forked from tsawler/laravel-filemanager
  • Customizable routes and middlewares
  • Supported locales : en, fr, bg, tr, fa, es, pt-BR, tr, zh-CN, zh-TW
  • Supports public and private folders for multi users
  • Supports multi-level folders
  • Supports using independently(see integration doc)

Documents

  1. Installation
  2. Intergration
  3. Config
  4. Customization

Upgrade guide

  • composer update unisharp/laravel-filemanager
  • php artisan vendor:publish --tag=lfm_view --force
  • php artisan vendor:publish --tag=lfm_config --force (IMPORTANT: please backup your own config/lfm.php first)

Screenshots

  • Independent usage example :

Independent usage example, (*4)

  • List view :

FileManager screenshot 1, (*5)

  • Grid view :

FileManager screenshot 2, (*6)

Events

To use events you can add a listener to listen to the events, (*7)

Snippet for EventServiceProvider, (*8)

    protected $listen = [
        ImageWasUploaded::class => [
            UploadListener::class,
        ],
    ];

The UploadListener will look like:, (*9)

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: * Yesteamtech\Laravelfilemanager\Events\ImageWasUploaded, (*10)

Credits

The Versions

24/05 2018

dev-master

9999999-dev

A file upload/editor intended for use with Laravel 5 and CKEditor

  Sources   Download

MIT

The Requires

 

by Trevor Sawler
by Vinod Raut - Yesteamtech

laravel file upload ckeditor image manager filemanager

24/05 2018

2.0.0

2.0.0.0

A file upload/editor intended for use with Laravel 5 and CKEditor

  Sources   Download

MIT

The Requires

 

by Trevor Sawler
by Vinod Raut - Yesteamtech

laravel file upload ckeditor image manager filemanager

10/12 2016

1.0.2

1.0.2.0

A file upload/editor intended for use with Laravel 5 and CKEditor

  Sources   Download

MIT

The Requires

 

by Trevor Sawler
by Vinod Raut - Yesteamtech

laravel file upload ckeditor image manager filemanager

09/12 2016

1.0.1

1.0.1.0

A file upload/editor intended for use with Laravel 5 and CKEditor

  Sources   Download

MIT

The Requires

 

by Trevor Sawler
by Vinod Raut - Yesteamtech

laravel file upload ckeditor image manager filemanager

12/07 2016

1.0.0

1.0.0.0

A file upload/editor intended for use with Laravel 5 and CKEditor

  Sources   Download

MIT

The Requires

 

by Trevor Sawler
by Vinod Raut - Yesteamtech

laravel file upload ckeditor image manager filemanager