PHPackages                             simexis/filemanager - 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. simexis/filemanager

ActiveLibrary

simexis/filemanager
===================

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

1.0.5(10y ago)21521MITJavaScriptPHP &gt;=5.5.9

Since Oct 19Pushed 10y ago1 watchersCompare

[ Source](https://github.com/jooorooo/filemanager)[ Packagist](https://packagist.org/packages/simexis/filemanager)[ RSS](/packages/simexis-filemanager/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (3)Versions (7)Used By (0)

filemanager
===========

[](#filemanager)

### This package is functional, but is under active development.

[](#this-package-is-functional-but-is-under-active-development)

A file upload/editor intended for use with [Laravel 5](http://www.laravel.com/ "Title") and [CKEditor](http://ckeditor.com/).

Rationale
---------

[](#rationale)

This package is written specifically for Laravel 5, and will integrate seamlessly. The package is based on [tsawler/laravel-filemanager](https://github.com/tsawler/laravel-filemanager).

Requirements
------------

[](#requirements)

1. This package only supports Laravel 5.x
2. Requires `"intervention/image": "2.*"`
3. Requires PHP 5.5 or later

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

[](#installation)

1. Installation is done through composer and packagist. From within your project root directory, execute the following command:

    `composer require simexis/filemanager`
2. Next run composer update to install the package from packagist:

    `composer update`
3. Add the ServiceProvider to the providers array in config/app.php:

    `Simexis\Filemanager\FilemanagerServiceProvider::class,`
4. Add the Facade to the Facades array in config/app.php:

    `'Filemanager' => Simexis\Filemanager\Facades\Filemanager::class,`
5. Publish the package's config file:

    `php artisan vendor:publish --tag=sfm_config`
6. Publish the package's public folder assets:

    `php artisan vendor:publish --tag=sfm_public`
7. If you want to customize the look &amp; feel, then publish the package's views:

    `php artisan vendor:publish --tag=sfm_views`
8. By default, the package will use its own routes. If you don't want to use those routes, change this entry in config/sfm.php to false:

    ```
        'use_package_routes' => true,
    ```

    You will, of course, have to set up your own routes.
9. If you don't want to use the default image/file directory or url, update the appropriate lines in config/sfm.php:

    ```
        'dir'         => 'public/vendor/filemanager/images/',
        'url'         => '/vendor/filemanager/images/',
    ```
10. Allowed extension. By default all is enabled. In in config/sfm.php

    ```
        'allow' => [],
    ```

set allowed in array: \['png', 'zip', '...'\]

1. Ensure that the files &amp; images directories are writable by your web serber
2. In the view where you are using a CKEditor instance, use the file uploader by initializing the CKEditor instance as follows:

    ```

            CKEDITOR.replace( 'editor', {
                filebrowserImageBrowseUrl: '/filemanager',
                filebrowserBrowseUrl: '/filemanager'
            });

    ```

    Here, "editor" is the id of the textarea you are transforming to a CKEditor instance. Note that if you are using a custom route you will have to change `/filemanager` to correspond to whatever route you have chosen.
3. Before

```

```

tag add

```

```

Security
--------

[](#security)

It is important to note that if you use your own routes **you must protect your routes to Laravel-Filemanager in order to prevent unauthorized uploads to your server**. Fortunately, Laravel makes this very easy.

If, for example, you want to ensure that only logged in users have the ability to access the Laravel-Filemanager, simply wrap the routes in a group, perhaps like this:

```
Route::group(array('middleware' => ['auth', 'web'], 'namespace' => 'Simexis\Filemanager\controllers'), function () // make sure authenticated
{

	// Show SFM
	Route::get('/filemanager', ['as' => 'filemanager.show', 'uses' => 'SfmController@show']);

	// upload
	Route::any('/filemanager/upload', ['as' => 'filemanager.upload', 'uses' => 'UploadController@upload']);

	// list images & files
	Route::get('/filemanager/json', ['as' => 'filemanager.files', 'uses' => 'ItemsController@getFiles']);

	// folders
	Route::get('/filemanager/newfolder', ['as' => 'filemanager.newfolder', 'uses' => 'FolderController@getAddfolder']);
	Route::get('/filemanager/deletefolder', ['as' => 'filemanager.deletefolder', 'uses' => 'FolderController@getDeletefolder']);
	Route::get('/filemanager/folders', ['as' => 'filemanager.folders', 'uses' => 'FolderController@getFolders']);

	// crop
	Route::get('/filemanager/crop', ['as' => 'filemanager.crop', 'uses' => 'CropController@getCrop']);
	Route::get('/filemanager/cropimage', ['as' => 'filemanager.cropimage', 'uses' => 'CropController@getCropimage']);

	// rename
	Route::get('/filemanager/rename', ['as' => 'filemanager.rename', 'uses' => 'RenameController@getRename']);

	// scale/resize
	Route::get('/filemanager/resize', ['as' => 'filemanager.resize', 'uses' => 'ResizeController@getResize']);
	Route::get('/filemanager/doresize', ['as' => 'filemanager.doresize', 'uses' => 'ResizeController@performResize']);

	// download
	Route::get('/filemanager/download', ['as' => 'filemanager.download', 'uses' => 'DownloadController@getDownload']);

	// delete
	Route::get('/filemanager/delete', ['as' => 'filemanager.delete', 'uses' => 'DeleteController@getDelete']);

});

```

This approach ensures that only authenticated users have access to the Laravel-Filemanager. If you are using Middleware or some other approach to enforce security, modify as needed.

License
-------

[](#license)

This package is released under the terms of the [MIT License](http://opensource.org/licenses/MIT).

The MIT License (MIT)

Copyright (c) 2015 Trevor Sawler

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~24 days

Recently: every ~30 days

Total

6

Last Release

3745d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b94e45e0fc8056daeec3bc285ca4befdbaf5064a57f29bd9d93a9459afab9a28?d=identicon)[jooorooo](/maintainers/jooorooo)

---

Top Contributors

[![jooorooo](https://avatars.githubusercontent.com/u/5603141?v=4)](https://github.com/jooorooo "jooorooo (2 commits)")

### Embed Badge

![Health badge](/badges/simexis-filemanager/health.svg)

```
[![Health](https://phpackages.com/badges/simexis-filemanager/health.svg)](https://phpackages.com/packages/simexis-filemanager)
```

###  Alternatives

[laravolt/avatar

Turn name, email, and any other string into initial-based avatar or gravatar.

2.0k5.4M31](/packages/laravolt-avatar)[unisharp/laravel-filemanager

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

2.2k3.3M74](/packages/unisharp-laravel-filemanager)[intervention/image-laravel

Laravel Integration of Intervention Image

1536.5M102](/packages/intervention-image-laravel)[bkwld/croppa

Image thumbnail creation through specially formatted URLs for Laravel

510496.0k23](/packages/bkwld-croppa)[beyondcode/laravel-favicon

Create dynamic favicons based on your environment settings.

37345.5k](/packages/beyondcode-laravel-favicon)[flarum/core

Delightfully simple forum software.

211.3M1.9k](/packages/flarum-core)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
