PHPackages                             snowsoft/laravelresponsivefilemanager - 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. snowsoft/laravelresponsivefilemanager

ActiveLibrary

snowsoft/laravelresponsivefilemanager
=====================================

Responsive File Manager with Laravel

08PHP

Since Feb 21Pushed 4y ago1 watchersCompare

[ Source](https://github.com/snowsoft/laravelresponsivefilemanager)[ Packagist](https://packagist.org/packages/snowsoft/laravelresponsivefilemanager)[ RSS](/packages/snowsoft-laravelresponsivefilemanager/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

laravelresponsivefilemanager
============================

[](#laravelresponsivefilemanager)

[![Downloads](https://camo.githubusercontent.com/cdd8839686c90d0b48f5ea536f8421831ada80c0019456b7e9e8100446689de0/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f536e6f77736f66742f6c61726176656c726573706f6e7369766566696c656d616e616765722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/Snowsoft/laravelresponsivefilemanager)[![GitHub license](https://camo.githubusercontent.com/d1fd4abd3412e998ebcda9102dd496ed1595099a5102abb07adca3ba8d2d4fde/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d696e666f726d6174696f6e616c2e737667)](https://github.com/Snowsoft/laravelresponsivefilemanager/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/59615049d3653699380be30580f29800f7686ea5e4141b7ed67d87005b247c1b/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f7461672f736e6f77736f66742f6c61726176656c726573706f6e7369766566696c656d616e616765722e7376673f7374796c653d666c6174266c6f676f3d6c61726176656c26636f6c6f723d696e666f726d6174696f6e616c)](https://github.com/snowsoft/laravelresponsivefilemanager/tags)

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 Snowsoft/laravelresponsivefilemanager

```

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

Install in `config/app.php`

```
'providers' => [
        /*
         * Laravel Framework Service Providers...
         */
        ...
        // Responsive File Manager
        Snowsoft\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="Snowsoft\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_subfolder: '',
    filemanager_crossdomain: '',
    external_filemanager_path: '@filemanager_get_resource(dialog.php)',
    filemanager_title:"Responsive Filemanager" ,
    external_plugins: { "filemanager" : "/vendor/responsivefilemanager/plugin.min.js"}
    });
});

```

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

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity27

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/82e2e5c31874e6660f06e56f1bf60eebc23db8b6ef8e719e9f52ae6db07f90e3?d=identicon)[snowsoft](/maintainers/snowsoft)

---

Top Contributors

[![snowsoft](https://avatars.githubusercontent.com/u/4568234?v=4)](https://github.com/snowsoft "snowsoft (11 commits)")

### Embed Badge

![Health badge](/badges/snowsoft-laravelresponsivefilemanager/health.svg)

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

PHPackages © 2026

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