2017 © Pedro Peláez
 

library filemanager

To add filemanager to Laravel 5.1

image

bestmomo/filemanager

To add filemanager to Laravel 5.1

  • Wednesday, September 7, 2016
  • by bestmomo
  • Repository
  • 6 Watchers
  • 45 Stars
  • 23,587 Installations
  • JavaScript
  • 1 Dependents
  • 0 Suggesters
  • 10 Forks
  • 13 Open issues
  • 13 Versions
  • 2 % Grown

The README.md

Filemanager

This package is to add simogeo/Filemanager to Laravel 5.2 installation., (*1)

Installation

Add Filemanager to your composer.json file to require Filemanager :, (*2)

    require : {
        "laravel/framework": "5.2.*",
        "bestmomo/filemanager": "1.1.*"
    }

Update Composer :, (*3)

    composer update

The next required step is to add the service provider to config/app.php :, (*4)

    Bestmomo\Filemanager\FilemanagerServiceProvider::class,

Publish

The last required step is to publish assets in your application with :, (*5)

    php artisan vendor:publish --provider="Bestmomo\Filemanager\FilemanagerServiceProvider"

User model

For Filemanager php connector you must create at least this function in user model :, (*6)

public function accessMediasAll()
{
    // return true for access to all medias
}

If you want some users access only to one folder add this function :, (*7)

public function accessMediasFolder()
{
    // return true for access to one folder
}

A folder with user{id} name will be created in filemanager/userfiles folder., (*8)

Integration

You can now integrate Filemanager with any editor., (*9)

Simple example integration with CKEditor :, (*10)

<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <title>CKEditor</title>
        <script src="//cdn.ckeditor.com/4.5.3/standard/ckeditor.js"></script>
    </head>
    <body>
        <textarea name="editor"></textarea>
        <script>
            CKEDITOR.replace( 'editor', {
                filebrowserBrowseUrl: '{!! url('filemanager/index.html') !!}'
            });
        </script>
    </body>
</html>

The Versions

07/09 2016

dev-master

9999999-dev http://github.com/bestmomo/filemanager

To add filemanager to Laravel 5.1

  Sources   Download

MIT

The Requires

  • php >=5.5.9

 

29/04 2016

1.1.5

1.1.5.0 http://github.com/bestmomo/filemanager

To add filemanager to Laravel 5.1

  Sources   Download

MIT

The Requires

  • php >=5.5.9

 

20/02 2016

V1.1.4

1.1.4.0 http://github.com/bestmomo/filemanager

To add filemanager to Laravel 5.1

  Sources   Download

MIT

The Requires

  • php >=5.5.9

 

22/01 2016

V1.0.3

1.0.3.0 http://github.com/bestmomo/filemanager

To add filemanager to Laravel 5.1

  Sources   Download

MIT

The Requires

  • php >=5.5.9

 

22/01 2016

V1.1.3

1.1.3.0 http://github.com/bestmomo/filemanager

To add filemanager to Laravel 5.1

  Sources   Download

MIT

The Requires

  • php >=5.5.9

 

01/12 2015

V1.1.2

1.1.2.0 http://github.com/bestmomo/filemanager

To add filemanager to Laravel 5.1

  Sources   Download

MIT

The Requires

  • php >=5.5.9

 

30/11 2015

V1.1.1

1.1.1.0 http://github.com/bestmomo/filemanager

To add filemanager to Laravel 5.1

  Sources   Download

MIT

The Requires

  • php >=5.5.9

 

30/11 2015

V1.0.1

1.0.1.0 http://github.com/bestmomo/filemanager

To add filemanager to Laravel 5.1

  Sources   Download

MIT

The Requires

  • php >=5.5.9

 

30/11 2015

V1.03

1.03.0.0 http://github.com/bestmomo/filemanager

To add filemanager to Laravel 5.1

  Sources   Download

MIT

The Requires

  • php >=5.5.9

 

30/11 2015

V1.1.0

1.1.0.0 http://github.com/bestmomo/filemanager

To add filemanager to Laravel 5.1

  Sources   Download

MIT

The Requires

  • php >=5.5.9

 

29/11 2015

V1.02

1.02.0.0 http://github.com/bestmomo/filemanager

To add filemanager to Laravel 5.1

  Sources   Download

MIT

The Requires

  • php >=5.5.9

 

25/08 2015

V1.01

1.01.0.0 http://github.com/bestmomo/filemanager

To add filemanager to Laravel 5.1

  Sources   Download

MIT

The Requires

  • php >=5.5.9

 

24/08 2015

V1.0

1.0.0.0 http://github.com/bestmomo/filemanager

To add filemanager to Laravel 5.1

  Sources   Download

MIT

The Requires

  • php >=5.5.9