{"id":15042000,"url":"https://github.com/micronull/yii2-simple-filemanager","last_synced_at":"2025-10-31T00:31:45.120Z","repository":{"id":56964473,"uuid":"117979542","full_name":"micronull/yii2-simple-filemanager","owner":"micronull","description":"A simple file manager for yii2 framework.","archived":false,"fork":false,"pushed_at":"2022-07-29T03:12:10.000Z","size":165,"stargazers_count":7,"open_issues_count":0,"forks_count":11,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-09-29T23:01:35.425Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/micronull.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}},"created_at":"2018-01-18T12:24:03.000Z","updated_at":"2022-07-29T03:12:13.000Z","dependencies_parsed_at":"2022-08-21T10:20:33.952Z","dependency_job_id":null,"html_url":"https://github.com/micronull/yii2-simple-filemanager","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/micronull%2Fyii2-simple-filemanager","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/micronull%2Fyii2-simple-filemanager/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/micronull%2Fyii2-simple-filemanager/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/micronull%2Fyii2-simple-filemanager/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/micronull","download_url":"https://codeload.github.com/micronull/yii2-simple-filemanager/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219855411,"owners_count":16556095,"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":[],"created_at":"2024-09-24T20:46:44.019Z","updated_at":"2025-10-31T00:31:44.740Z","avatar_url":"https://github.com/micronull.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Yii2 simple filemanager\n[![Maintainability](https://api.codeclimate.com/v1/badges/2aef3abcdff74d094710/maintainability)](https://codeclimate.com/github/De-Luxis/yii2-simple-filemanager/maintainability)\n[![Test Coverage](https://api.codeclimate.com/v1/badges/2aef3abcdff74d094710/test_coverage)](https://codeclimate.com/github/De-Luxis/yii2-simple-filemanager/test_coverage)\n[![Latest Stable Version](https://poser.pugx.org/de-luxis/yii2-simple-filemanager/v/stable?format=flat)](https://packagist.org/packages/de-luxis/yii2-simple-filemanager) \n[![Latest Unstable Version](https://poser.pugx.org/de-luxis/yii2-simple-filemanager/v/unstable?format=flat)](https://packagist.org/packages/de-luxis/yii2-simple-filemanager)\n[![License](https://poser.pugx.org/de-luxis/yii2-simple-filemanager/license?format=flat)](https://packagist.org/packages/de-luxis/yii2-simple-filemanager)\n\nA simple file manager. Having minimal dependencies, but great opportunities for expansion.\n\n## Features\n\n* Do not need a database. Consequently, there are no migrations.\n* It's simple.\n\n## TODO\n\n* Preview for images.\n* Extended information about files.\n* Possibility to limit the types of downloaded files through the configuration.\n* Add support RBAC.\n\n## Screenshots\n\nBasic app template\n\n![base app en](https://raw.githubusercontent.com/De-Luxis/yii2-simple-filemanager/master/screenshots/base-app-en.png)\n\nEmpty files. Basic app template i18n.\n\n![base app en](https://raw.githubusercontent.com/De-Luxis/yii2-simple-filemanager/master/screenshots/base-app-ru-empty.png)\n\nSubmodule.\n\n![base app en](https://raw.githubusercontent.com/De-Luxis/yii2-simple-filemanager/master/screenshots/submodule.png)\n\nSubmodule i18n.\n\n![base app en](https://raw.githubusercontent.com/De-Luxis/yii2-simple-filemanager/master/screenshots/submodule-ru.png)\n\n## Installation\n\nRun the command.\n\n`composer require de-luxis/yii2-simple-filemanager`\n\nOr add to your composer.json\n\n`\"de-luxis/yii2-simple-filemanager\": \"*\"`\n\nNow, register the module in the configuration of your application.\n\nOn an example of the [basic application template](https://github.com/yiisoft/yii2-app-basic) `config/web.php`\n\n```\n'modules' =\u003e [\n    'filemanager' =\u003e [\n        'class' =\u003e 'DeLuxis\\Yii2SimpleFilemanager\\SimpleFilemanagerModule'\n    ],\n],\n```\n\nThe file manager will be available at `index.php?r=filemanager`\n\n## Submodule\n\nThe file manager can be included as a submodule. For example, for your administration panel.\nTo do this, in the method of initializing your module, you need to add an entry that the file manager will connect.\n\n```\npublic function init()\n{\n    parent::init();\n\n    $this-\u003emodules = [\n        'filemanager' =\u003e [\n            'class' =\u003e 'DeLuxis\\Yii2SimpleFilemanager\\SimpleFilemanagerModule',\n            'as access' =\u003e [\n                'class' =\u003e '\\yii\\filters\\AccessControl',\n                'rules' =\u003e [\n                    [\n                        'allow' =\u003e true,\n                        'roles' =\u003e ['@'],\n                    ],\n                ]\n            ]\n        ]\n    ];\n}\n```\nWith the help of a record `as access` you can regulate access rights.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmicronull%2Fyii2-simple-filemanager","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmicronull%2Fyii2-simple-filemanager","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmicronull%2Fyii2-simple-filemanager/lists"}