PHPackages                             smallworldfs/filemanager-laravel - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [File &amp; Storage](/categories/file-storage)
4. /
5. smallworldfs/filemanager-laravel

ActivePackage[File &amp; Storage](/categories/file-storage)

smallworldfs/filemanager-laravel
================================

Filemanager for Laravel 5.6

v3.0.1(4y ago)16861MITJavaScriptPHP &gt;=7.1.3

Since Apr 20Pushed 3y agoCompare

[ Source](https://github.com/smallworldfs/filemanager-laravel)[ Packagist](https://packagist.org/packages/smallworldfs/filemanager-laravel)[ RSS](/packages/smallworldfs-filemanager-laravel/feed)WikiDiscussions master Synced today

READMEChangelog (10)Dependencies (3)Versions (13)Used By (0)

FileManager for Laravel
=======================

[](#filemanager-for-laravel)

This package is based on:  , and we have made modifications to encapsulate it, to get a single installable in our projects.

Once you have installed this package, you will have also all dependencies necessaries to work.

Installation
------------

[](#installation)

If you have composer installed globally, your need run:

```
composer require "smallworldfs/filemanager-laravel"
```

Otherwise, you must have a composer.phar file in your base dir of your project to run:

```
php composer.phar require "smallworldfs/filemanager-laravel"
```

Register Filemanager Provider
-----------------------------

[](#register-filemanager-provider)

First, you need append the package provider to laravel providers array in the config/app.php file.

```
'providers' => [
    // ...
    Smallworldfs\Filemanager\Providers\FilemanagerProvider::class,
];
```

Configuration
-------------

[](#configuration)

This package, auto load/register "Gates Policies", "Routes", "Statics"... and you not need anything to work in your project.

But... you must configure the config vars to work successfully and customizing with your environment.

Running this command, the package copy (filemanager.php base config file) to laravel config dir, and you can edit this file.

```
php artisan vendor:publish --provider="Smallworldfs\Filemanager\Providers\FilemanagerProvider"
```

*Only one file, it's great!!*

### FileManager Config File

[](#filemanager-config-file)

This is the config file, you can see a comment with an example of roles to limit user access to the filemanager.

```
