PHPackages                             briansamuel/laravel-responsivefilemanager - 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. briansamuel/laravel-responsivefilemanager

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

briansamuel/laravel-responsivefilemanager
=========================================

Integrate Alberto Peripolli's Responsive File Manager with Laravel

010PHP

Since Apr 4Pushed 6y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

Laravel-ResponsiveFileManager
=============================

[](#laravel-responsivefilemanager)

[![GitHub issues](https://camo.githubusercontent.com/26328d1c45897ef7795cd0681a8049cbd474bad7d6e4dd8b0d1650b30f799bb8/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f4b776161647065707065722f6c61726176656c2d726573706f6e7369766566696c656d616e61676572)](https://github.com/Kwaadpepper/laravel-responsivefilemanager/issues)[![GitHub license](https://camo.githubusercontent.com/d1fd4abd3412e998ebcda9102dd496ed1595099a5102abb07adca3ba8d2d4fde/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d696e666f726d6174696f6e616c2e737667)](https://github.com/Kwaadpepper/laravel-responsivefilemanager/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/f7e2ba97ed608e7474b99f7ad555f9f85b1e081ef00353c48d7590f41160b862/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f7461672f4b776161647065707065722f6c61726176656c2d726573706f6e7369766566696c656d616e616765722e7376673f7374796c653d666c6174266c6f676f3d6c61726176656c26636f6c6f723d696e666f726d6174696f6e616c)](https://github.com/Kwaadpepper/laravel-responsivefilemanager/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.*

### Corrections are made to RFM in order to

[](#corrections-are-made-to-rfm-in-order-to)

- Prevent collisions
- Fix small errors
- Adapt to Laravel

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. Don't hesitate to make PR if you done something cool you wan't to share**

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

---

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

[](#how-to-install-)

**\#1**
-------

[](#1)

### *Install in your project*

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

```
composer require kwaadpepper/laravel-responsivefilemanager

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

```

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

Install in `config/app.php`

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

```

In `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
    ]
    ...
];

```

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.

---

**\#2**
-------

[](#2)

### Use as StandAlone

[](#use-as-standalone)

*Use helpers to write filemanager url*

```
Open RFM

```

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

*tip: Seems to support Bootstrap Modal*

---

### 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_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`

[](#to-make-private-folder-use-htaccess-with-deny-from-all)

---

### Configuration

[](#configuration)

#### Language

[](#language)

*This package has multiple languages support, it is still incomplete. please contribute if you have the language concerned skills.*

1. Url get parameter ($\_GET)
2. `RF.language` session var (*User selected languages in drop list*)
3. config.php (*rfm.php*) `default_language`
4. User prefered language (*HTTP headers*)
5. Your Laravel app default language

**Available Languages**```
az_AZ      Azərbaycan dili
bg_BG      български език
ca         Català, valencià
cs         čeština, český jazyk
da         Dansk
de         Deutsch
el_GR      ελληνικά
en_EN      English
es         Español
fa         فارسی
fr_FR      Français
he_IL      Hebrew (Israel)
hr         Hrvatski jezik
hu_HU      Magyar
id         Bahasa Indonesia
it         Italiano
ja         日本
lt         Lietuvių kalba
mn_MN      монгол
nb_NO      Norsk bokmål
nn_NO      Norsk nynorsk
nl         Nederlands, Vlaams
pl         Język polski, polszczyzna
pt_BR      Português(Brazil,
pt_PT      Português
ro         Română
ru         Pусский язык
sk         Slovenčina
sl         Slovenski jezik
sv_SE      Svenska
th_TH      ไทย
tr_TR      Türkçe
uk_UA      Yкраїнська мова
vi         Tiếng Việt
zh_CN      中文 (Zhōngwén), 汉语, 漢語

```

#### FTP

[](#ftp)

To come

---

**TODO :**

- private key setup
- more corrections on JS side
- more corrections on languages
- Test with tinyMCE
- Include commercial support
- Test and debug FTP fonctionnality (Alpha Still need debug some functionallities)
- TODO: cache FTP thumbnails for preview (images only)
- MultiUser and Auth Support
- compile assets
- publish package
- Rewrite routes to be cleaner (eg : ajax\_calls/{action}/{subaction})
- separe properly View from logic ( ex: dialog.php OMG &lt;(o\_O)&gt;)

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity34

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/c04ac6e0ff2c1293816167d518857450e25444160dab9f272b483631552fe4f6?d=identicon)[briansamuel](/maintainers/briansamuel)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/briansamuel-laravel-responsivefilemanager/health.svg)

```
[![Health](https://phpackages.com/badges/briansamuel-laravel-responsivefilemanager/health.svg)](https://phpackages.com/packages/briansamuel-laravel-responsivefilemanager)
```

###  Alternatives

[knplabs/gaufrette

PHP library that provides a filesystem abstraction layer

2.5k39.8M123](/packages/knplabs-gaufrette)[google/cloud-storage

Cloud Storage Client for PHP

34390.8M125](/packages/google-cloud-storage)[illuminate/filesystem

The Illuminate Filesystem package.

15261.6M2.6k](/packages/illuminate-filesystem)[superbalist/flysystem-google-storage

Flysystem adapter for Google Cloud Storage

26320.6M30](/packages/superbalist-flysystem-google-storage)[creocoder/yii2-flysystem

The flysystem extension for the Yii framework

2931.7M62](/packages/creocoder-yii2-flysystem)[flowjs/flow-php-server

PHP library for handling chunk uploads. Works with flow.js html5 file uploads.

2451.6M15](/packages/flowjs-flow-php-server)

PHPackages © 2026

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