{"id":28438094,"url":"https://github.com/zanysoft/laravel-responsive-filemanager","last_synced_at":"2025-07-04T00:06:26.897Z","repository":{"id":43722349,"uuid":"421395837","full_name":"zanysoft/laravel-responsive-filemanager","owner":"zanysoft","description":"Laravel responsive file manager ","archived":false,"fork":false,"pushed_at":"2025-02-18T11:18:57.000Z","size":970,"stargazers_count":4,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-06T00:43:13.273Z","etag":null,"topics":["file-manager","laravel","laravel-file-manager","laravel-filemanager","responsive-filemanager"],"latest_commit_sha":null,"homepage":"https://zanysoft.github.io/laravel-responsive-filemanager/","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zanysoft.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-10-26T11:25:57.000Z","updated_at":"2025-02-18T11:59:19.000Z","dependencies_parsed_at":"2025-02-18T12:24:39.077Z","dependency_job_id":"8f1d2e08-6d46-4b21-8316-08fd2562fb0d","html_url":"https://github.com/zanysoft/laravel-responsive-filemanager","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/zanysoft/laravel-responsive-filemanager","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zanysoft%2Flaravel-responsive-filemanager","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zanysoft%2Flaravel-responsive-filemanager/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zanysoft%2Flaravel-responsive-filemanager/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zanysoft%2Flaravel-responsive-filemanager/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zanysoft","download_url":"https://codeload.github.com/zanysoft/laravel-responsive-filemanager/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zanysoft%2Flaravel-responsive-filemanager/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262452283,"owners_count":23313412,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["file-manager","laravel","laravel-file-manager","laravel-filemanager","responsive-filemanager"],"created_at":"2025-06-06T00:39:13.571Z","updated_at":"2025-06-28T15:31:31.714Z","avatar_url":"https://github.com/zanysoft.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Laravel-Responsive-FileManager\n\n[![Downloads](https://img.shields.io/packagist/dt/zanysoft/laravel-responsive-filemanager.svg?style=flat-square)](https://packagist.org/packages/zanysoft/laravel-responsive-filemanager)\n[![GitHub license](https://img.shields.io/badge/License-MIT-informational.svg)](https://github.com/zanysoft/laravel-responsive-filemanager/blob/master/LICENSE)\n[![GitHub license](https://img.shields.io/badge/Licence-CC%20BY%20NC%203.0-informational.svg)](https://creativecommons.org/licenses/by-nc/3.0/)\n[![Maintenance](https://img.shields.io/badge/Maintained%3F-yes-informational.svg)](https://GitHub.com/Naereen/StrapDown.js/graphs/commit-activity)\n[![GitHub tag](https://img.shields.io/github/tag/ZanySoft/laravel-responsive-filemanager.svg?style=flat\u0026logo=laravel\u0026color=informational)](https://github.com/zanysoft/laravel-responsive-filemanager/tags)\n\nThis software includes a modified version of [Responsive File Manager](https://github.com/trippo/ResponsiveFilemanager) *see [official website](https://responsivefilemanager.com/)*\n\n## *Responsive File Manager (RFM) is licenced under CC BY-NC 3.0 which means software can't be redistributed for a commercial use.*\n\n![CC BY-NC 3.0](http://i.creativecommons.org/l/by-nc/3.0/88x31.png)\n\n**If you wan't to use it for comercial purpose take a look on [the author (Alberto Peripolli\n) website](https://responsivefilemanager.com/#download-section)**\n\nThis repo is under MIT Licence except parts where antoher licence is mentioned in file.\n\nThe Laravel plugin code part here is under **MIT Licence**.\n\n*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*\n\n__**If you have some corrections, recommendations or anything else to say please let me know.**__\n\n**__[Read Responsive File Manager Documentation](https://responsivefilemanager.com/index.php#documentation-section)__**\n\n___\n\n## **How to Install ?**\n\n### *Install in your project*\n\n    composer require zanysoft/laravel-responsive-filemanager\n\nNow there is a new configuration file ```rfm.php```\n\nInstall in ```config/app.php```\n\n    'providers' =\u003e [\n            /*\n             * Laravel Framework Service Providers...\n             */\n            ...\n            // Responsive File Manager\n            ZanySoft\\ResponsiveFileManager\\FileManagerServiceProvider::class\n    ],\n\nIn ```app/Http/Kernel.php``` need to use StartSession, can also use and is recommended CSRF Token\n\n    protected $middlewareGroups = [\n        ...\n        'web' =\u003e [\n            ...\n            \\Illuminate\\Session\\Middleware\\StartSession::class,\n            // Responsive File Manager supports CSRF Token usage\n            \\App\\Http\\Middleware\\VerifyCsrfToken::class\n        ]\n        ...\n    ];\n\nthen do\n\n    php artisan vendor:publish --provider=\"ZanySoft\\ResponsiveFileManager\\FileManagerServiceProvider\"\n\nGenerate private key for url identification\n\n    php artisan rfm:generate\n\nAll configs included to work out of the box.\nFiles are meant to be stored in public folder.\n\n**Don't forget to set upload dir in config file**\n\n    $upload_dir = 'media/';\n    $thumbs_upload_dir = 'thumbs/'; //this will create inside upload directory\n    \n**Set route prefix in config file**\n\n    'route_prefix' =\u003e 'filemanager/',\n    //or\n    'route_prefix' =\u003e 'admin/filemanager/',  \n      \n**Set middleware in config file for security purpose**\n\n    'middleware' =\u003e 'auth', //defaualt is web\n    \n___\n\n### Use as StandAlone\n\n*Use helpers to write filemanager url*\n\n    \u003ca href=\"@filemanager_get_resource(dialog.php)?field_id=imgField\u0026lang=en_EN\u0026akey=@filemanager_get_key()\"\u003eOpen RFM\u003c/a\u003e\n    // OR\n    \u003ca href=\"@filemanager_dialog(['field_id'=\u003e'imgField'])\"\u003eOpen RFM\u003c/a\u003e    \n    // OR\n    \u003ca href=\"@filemanager_dialog()\"\u003eOpen RFM\u003c/a\u003e\n\nsee ```USE AS STAND-ALONE FILE MANAGER``` in Responsible [File Manager Doc](https://responsivefilemanager.com/index.php#documentation-section)\n\n___\n\n### Include in TinyMCE or CKEDITOR\n\n#### *Include JS*\n\n- **For CKEditor**\n\n__**Replace #MYTEXTAREAJS with your textarea input**__\n\n    \u003cscript src='{{ asset('/vendor/unisharp/laravel-ckeditor/ckeditor.js') }}'\u003e\u003c/script\u003e\n    \u003cscript\u003e\n        $(document).ready(function() {\n            if($(\"#MYTEXTAREAID\").length) {\n                CKEDITOR.replace( 'postBody', {\n                    filebrowserBrowseUrl : '@filemanager_get_resource(dialog.php)?akey=@filemanager_get_key()\u0026type=2\u0026editor=ckeditor\u0026fldr=',\n                    filebrowserUploadUrl : '@filemanager_get_resource(dialog.php)?akey=@filemanager_get_key()\u0026type=2\u0026editor=ckeditor\u0026fldr=',\n                    filebrowserImageBrowseUrl : '@filemanager_get_resource(dialog.php)?akey=@filemanager_get_key()\u0026type=1\u0026editor=ckeditor\u0026fldr=',\n                    language : '\u003c?php App::getLocale() ?\u003e'\n                });\n            }\n        })\n    \u003c/script\u003e\n\n- **For TinyMCE**\n\nwith tinymce parameters\n\n    $(document).ready(() =\u003e {\n        $('textarea').first().tinymce({\n            script_url : '/tinymce/tinymce.min.js',\n            width: 680,height: 300,\n            plugins: [\n                \"advlist autolink link image lists charmap print preview hr anchor pagebreak\",\n                \"searchreplace wordcount visualblocks visualchars insertdatetime media nonbreaking\",\n                \"table contextmenu directionality emoticons paste textcolor filemanager code\"\n        ],\n        toolbar1: \"undo redo | bold italic underline | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | styleselect\",\n        toolbar2: \"| responsivefilemanager | link unlink anchor | image media | forecolor backcolor  | print preview code \",\n        image_advtab: true ,\n        filemanager_access_key: '@filemanager_get_key()',\n        filemanager_relative_url: true,\n        filemanager_sort_by: '',\n        filemanager_descending: '',\n        filemanager_basefolder: '',\n        filemanager_subfolder: '',\n        filemanager_crossdomain: '',\n        external_filemanager_path: '@external_filemanager_path()',\n        filemanager_title:\"Responsive Filemanager\" ,\n        external_plugins: { \"filemanager\" : \"/vendor/responsivefilemanager/plugin.min.js\"}\n        });\n    });\n\n**To make private folder use .htaccess with ```Deny from all```**","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzanysoft%2Flaravel-responsive-filemanager","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzanysoft%2Flaravel-responsive-filemanager","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzanysoft%2Flaravel-responsive-filemanager/lists"}