{"id":21542621,"url":"https://github.com/alexantr/filemanager","last_synced_at":"2025-04-04T18:08:56.820Z","repository":{"id":9333614,"uuid":"11180357","full_name":"alexantr/filemanager","owner":"alexantr","description":"File manager in a single php file","archived":false,"fork":false,"pushed_at":"2018-10-21T18:12:10.000Z","size":453,"stargazers_count":523,"open_issues_count":11,"forks_count":332,"subscribers_count":30,"default_branch":"master","last_synced_at":"2025-03-28T17:09:58.611Z","etag":null,"topics":["filemanager","php"],"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/alexantr.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":"2013-07-04T15:12:22.000Z","updated_at":"2025-03-03T14:50:18.000Z","dependencies_parsed_at":"2022-07-12T01:31:08.560Z","dependency_job_id":null,"html_url":"https://github.com/alexantr/filemanager","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexantr%2Ffilemanager","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexantr%2Ffilemanager/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexantr%2Ffilemanager/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexantr%2Ffilemanager/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alexantr","download_url":"https://codeload.github.com/alexantr/filemanager/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247226215,"owners_count":20904465,"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":["filemanager","php"],"created_at":"2024-11-24T05:10:08.764Z","updated_at":"2025-04-04T18:08:56.799Z","avatar_url":"https://github.com/alexantr.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PHP File Manager\n\nA good solution for managing files and folders for developers who can't access their site over SSH or FTP.\n\n![PHP File Manager](https://raw.github.com/alexantr/filemanager/master/phpfm.png)\n\n**WARNING! Do not use this script as a regular file manager in public area.\nAfter all actions you must delete this script from the server.**\n\n## Requirements\n\n- PHP 5.2 or higher.\n- [Zip extension](http://php.net/manual/en/book.zip.php) for zip and unzip actions.\n- Fileinfo, iconv and mbstring extensions are strongly recommended.\n\n## How to use\n\nDownload ZIP with the latest version from the master branch.\n\nCopy **filemanager.php** to your website folder and open it in a web browser\n(e.g. http://yoursite/any_path/filemanager.php).\n\n## Security\n\nDefault username/password: **fm_admin**/**fm_admin**\n\n**Warning! Please set your own username and password in `$auth_users` before use.**\n\nTo enable or disable authentication set `$use_auth` to `true` or `false`.\n\n*For better security enable HTTP Authentication in your web server.*\n\n## Embedding\n\nYou can include file manager in another script. Just define `FM_EMBED` and other necessary constants. Example:\n\n```php\nclass SomeController\n{\n    public function actionIndex()\n    {\n        define('FM_EMBED', true);\n        define('FM_SELF_URL', UrlHelper::currentUrl()); // must be set if URL to manager not equal PHP_SELF\n        require 'path/to/filemanager.php';\n    }\n}\n```\n\nSupported constants:\n\n- `FM_ROOT_PATH` - default is `$_SERVER['DOCUMENT_ROOT']`\n- `FM_ROOT_URL` - default is `'http(s)://site.domain/'`\n- `FM_SELF_URL` - default is `'http(s)://site.domain/' . $_SERVER['PHP_SELF']`\n- `FM_ICONV_INPUT_ENC` - default is `'CP1251'`\n- `FM_USE_HIGHLIGHTJS` - default is `true`\n- `FM_HIGHLIGHTJS_STYLE` - default is `'vs'`\n- `FM_DATETIME_FORMAT` - default is `'d.m.y H:i'`\n\n## Alternatives\n\n- [Tiny PHP File Manager](https://github.com/prasathmani/tinyfilemanager) with search and file editor\n- [simple php filemanager](https://github.com/jcampbell1/simple-file-manager)\n\n## Bug tracker\n\nIf you have any issues with file manager, you may report them on\n[Issue tracker](https://github.com/alexantr/filemanager/issues).\n\n## License\n\nThis software is released under the MIT license.\n\nIcons by [Yusuke Kamiyamane](http://p.yusukekamiyamane.com/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexantr%2Ffilemanager","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falexantr%2Ffilemanager","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexantr%2Ffilemanager/lists"}