PHPackages                             zanysoft/laravel-responsive-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. [File &amp; Storage](/categories/file-storage)
4. /
5. zanysoft/laravel-responsive-filemanager

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

zanysoft/laravel-responsive-filemanager
=======================================

Integrate Alberto Peripolli's Responsive File Manager with Laravel

3.0.0(1y ago)51.3k4[1 issues](https://github.com/zanysoft/laravel-responsive-filemanager/issues)MITPHPPHP &gt;=7.4CI passing

Since Oct 27Pushed 1y ago1 watchersCompare

[ Source](https://github.com/zanysoft/laravel-responsive-filemanager)[ Packagist](https://packagist.org/packages/zanysoft/laravel-responsive-filemanager)[ RSS](/packages/zanysoft-laravel-responsive-filemanager/feed)WikiDiscussions master Synced 1w ago

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

Laravel-Responsive-FileManager
==============================

[](#laravel-responsive-filemanager)

[![Downloads](https://camo.githubusercontent.com/aea9addfd79720e3458a9b34b302477f86107ecfd486a23413ee99677860c7ab/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7a616e79736f66742f6c61726176656c2d726573706f6e736976652d66696c656d616e616765722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/zanysoft/laravel-responsive-filemanager)[![GitHub license](https://camo.githubusercontent.com/d1fd4abd3412e998ebcda9102dd496ed1595099a5102abb07adca3ba8d2d4fde/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d696e666f726d6174696f6e616c2e737667)](https://github.com/zanysoft/laravel-responsive-filemanager/blob/master/LICENSE)[![GitHub license](https://camo.githubusercontent.com/a9dc530c58a4472d276bab27b4d553106a9b07c3301ab3f1f695ca15c419dce6/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e63652d434325323042592532304e43253230332e302d696e666f726d6174696f6e616c2e737667)](https://creativecommons.org/licenses/by-nc/3.0/)[![Maintenance](https://camo.githubusercontent.com/485e76f4a84388b3489fd23ddd5af5056cf31a02a951c746a37cc6d61058c01a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4d61696e7461696e65642533462d7965732d696e666f726d6174696f6e616c2e737667)](https://GitHub.com/Naereen/StrapDown.js/graphs/commit-activity)[![GitHub tag](https://camo.githubusercontent.com/1b16f71fe2004d50b64cc194798fb478d66fd2d6c82dfc7634110a0b6dc53ac9/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f7461672f5a616e79536f66742f6c61726176656c2d726573706f6e736976652d66696c656d616e616765722e7376673f7374796c653d666c6174266c6f676f3d6c61726176656c26636f6c6f723d696e666f726d6174696f6e616c)](https://github.com/zanysoft/laravel-responsive-filemanager/tags)

This software includes a modified version of [Responsive File Manager](https://github.com/trippo/ResponsiveFilemanager) *see [official website](https://responsivefilemanager.com/)*

*Responsive File Manager (RFM) is licenced under CC BY-NC 3.0 which means software can't be redistributed for a commercial use.*
--------------------------------------------------------------------------------------------------------------------------------

[](#responsive-file-manager-rfm-is-licenced-under-cc-by-nc-30-which-means-software-cant-be-redistributed-for-a-commercial-use)

[![CC BY-NC 3.0](https://camo.githubusercontent.com/30e7b759976639fab788f88ffd52f8139838bf2df22016136c5b8ed3b5fc562a/687474703a2f2f692e6372656174697665636f6d6d6f6e732e6f72672f6c2f62792d6e632f332e302f38387833312e706e67)](https://camo.githubusercontent.com/30e7b759976639fab788f88ffd52f8139838bf2df22016136c5b8ed3b5fc562a/687474703a2f2f692e6372656174697665636f6d6d6f6e732e6f72672f6c2f62792d6e632f332e302f38387833312e706e67)

**If you wan't to use it for comercial purpose take a look on [the author (Alberto Peripolli ) website](https://responsivefilemanager.com/#download-section)**

This repo is under MIT Licence except parts where antoher licence is mentioned in file.

The Laravel plugin code part here is under **MIT Licence**.

*The RFM author delivers a commercial version of his code (a modified `include.js`). You will need to modify this file if you use CSRF check on your laravel app by adding `_token: jQuery('meta[name="csrf-token"]').attr('content')` on ajax calls. You can use [www.diffchecker.com](https://www.diffchecker.com) to check modifications you will have to apply to your `include.commercial.js` file. I can't deliver myself a licence to use RFM for commercial purpose*

**If you have some corrections, recommendations or anything else to say please let me know.**

**[Read Responsive File Manager Documentation](https://responsivefilemanager.com/index.php#documentation-section)**

---

**How to Install ?**
--------------------

[](#how-to-install-)

### *Install in your project*

[](#install-in-your-project)

```
composer require zanysoft/laravel-responsive-filemanager

```

Now there is a new configuration file `rfm.php`

Install in `config/app.php`

```
'providers' => [
        /*
         * Laravel Framework Service Providers...
         */
        ...
        // Responsive File Manager
        ZanySoft\ResponsiveFileManager\FileManagerServiceProvider::class
],

```

In `app/Http/Kernel.php` need to use StartSession, can also use and is recommended CSRF Token

```
protected $middlewareGroups = [
    ...
    'web' => [
        ...
        \Illuminate\Session\Middleware\StartSession::class,
        // Responsive File Manager supports CSRF Token usage
        \App\Http\Middleware\VerifyCsrfToken::class
    ]
    ...
];

```

then do

```
php artisan vendor:publish --provider="ZanySoft\ResponsiveFileManager\FileManagerServiceProvider"

```

Generate private key for url identification

```
php artisan rfm:generate

```

All configs included to work out of the box. Files are meant to be stored in public folder.

**Don't forget to set upload dir in config file**

```
$upload_dir = 'media/';
$thumbs_upload_dir = 'thumbs/'; //this will create inside upload directory

```

**Set route prefix in config file**

```
'route_prefix' => 'filemanager/',
//or
'route_prefix' => 'admin/filemanager/',

```

**Set middleware in config file for security purpose**

```
'middleware' => 'auth', //defaualt is web

```

---

### Use as StandAlone

[](#use-as-standalone)

*Use helpers to write filemanager url*

```
Open RFM
// OR
Open RFM
// OR
Open RFM

```

see `USE AS STAND-ALONE FILE MANAGER` in Responsible [File Manager Doc](https://responsivefilemanager.com/index.php#documentation-section)

---

### Include in TinyMCE or CKEDITOR

[](#include-in-tinymce-or-ckeditor)

#### *Include JS*

[](#include-js)

- **For CKEditor**

**Replace #MYTEXTAREAJS with your textarea input**

```

    $(document).ready(function() {
        if($("#MYTEXTAREAID").length) {
            CKEDITOR.replace( 'postBody', {
                filebrowserBrowseUrl : '@filemanager_get_resource(dialog.php)?akey=@filemanager_get_key()&type=2&editor=ckeditor&fldr=',
                filebrowserUploadUrl : '@filemanager_get_resource(dialog.php)?akey=@filemanager_get_key()&type=2&editor=ckeditor&fldr=',
                filebrowserImageBrowseUrl : '@filemanager_get_resource(dialog.php)?akey=@filemanager_get_key()&type=1&editor=ckeditor&fldr=',
                language : ''
            });
        }
    })

```

- **For TinyMCE**

with tinymce parameters

```
$(document).ready(() => {
    $('textarea').first().tinymce({
        script_url : '/tinymce/tinymce.min.js',
        width: 680,height: 300,
        plugins: [
            "advlist autolink link image lists charmap print preview hr anchor pagebreak",
            "searchreplace wordcount visualblocks visualchars insertdatetime media nonbreaking",
            "table contextmenu directionality emoticons paste textcolor filemanager code"
    ],
    toolbar1: "undo redo | bold italic underline | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | styleselect",
    toolbar2: "| responsivefilemanager | link unlink anchor | image media | forecolor backcolor  | print preview code ",
    image_advtab: true ,
    filemanager_access_key: '@filemanager_get_key()',
    filemanager_relative_url: true,
    filemanager_sort_by: '',
    filemanager_descending: '',
    filemanager_basefolder: '',
    filemanager_subfolder: '',
    filemanager_crossdomain: '',
    external_filemanager_path: '@external_filemanager_path()',
    filemanager_title:"Responsive Filemanager" ,
    external_plugins: { "filemanager" : "/vendor/responsivefilemanager/plugin.min.js"}
    });
});

```

**To make private folder use .htaccess with `Deny from all`**

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance36

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 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 ~95 days

Recently: every ~177 days

Total

12

Last Release

611d ago

Major Versions

1.0.5 → 2.0.12022-09-01

2.0.6 → 3.0.02024-09-15

PHP version history (3 changes)1.0.1PHP &gt;=7.1

2.0.1PHP &gt;=8.0

2.0.2PHP &gt;=7.4

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/77060551?v=4)[Mubashar Ahmad (مبشر احمد)](/maintainers/mubasharahmad)[@MubasharAhmad](https://github.com/MubasharAhmad)

---

Top Contributors

[![zanysoft](https://avatars.githubusercontent.com/u/2682072?v=4)](https://github.com/zanysoft "zanysoft (10 commits)")

---

Tags

file-managerlaravellaravel-file-managerlaravel-filemanagerresponsive-filemanagerlaravelresponsiveCKEditortinymcefilemanagerlaravel-filemanagerresponsive-filemanagertinymce-filemanager

### Embed Badge

![Health badge](/badges/zanysoft-laravel-responsive-filemanager/health.svg)

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

###  Alternatives

[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)[mafftor/laravel-file-manager

The file manager intended for using Laravel with CKEditor / TinyMCE / Colorbox

3619.3k](/packages/mafftor-laravel-file-manager)

PHPackages © 2026

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