{"id":14971327,"url":"https://github.com/zxbodya/yii2-elfinder","last_synced_at":"2025-10-26T15:30:22.977Z","repository":{"id":21365958,"uuid":"24683218","full_name":"zxbodya/yii2-elfinder","owner":"zxbodya","description":"Extension to use elFinder 1.x file manager in Yii2 application","archived":false,"fork":false,"pushed_at":"2018-03-06T14:22:15.000Z","size":1294,"stargazers_count":10,"open_issues_count":4,"forks_count":10,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-01-31T20:55:51.442Z","etag":null,"topics":["elfinder","tinymce","yii2","yii2-extension"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zxbodya.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-10-01T15:15:14.000Z","updated_at":"2023-05-04T14:42:52.000Z","dependencies_parsed_at":"2022-07-30T03:37:52.988Z","dependency_job_id":null,"html_url":"https://github.com/zxbodya/yii2-elfinder","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zxbodya%2Fyii2-elfinder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zxbodya%2Fyii2-elfinder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zxbodya%2Fyii2-elfinder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zxbodya%2Fyii2-elfinder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zxbodya","download_url":"https://codeload.github.com/zxbodya/yii2-elfinder/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238347896,"owners_count":19457012,"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":["elfinder","tinymce","yii2","yii2-extension"],"created_at":"2024-09-24T13:45:02.017Z","updated_at":"2025-10-26T15:30:22.382Z","avatar_url":"https://github.com/zxbodya.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ElFinder 1.x Yii2 extension\n\nExtension to simplify adding elFinder to Yii2 project.\n\nExtension is rework from Yii 1.1 extension:\n\n[https://github.com/zxbodya/yii-elfinder](https://github.com/zxbodya/yii-elfinder)\n\n\n##Installation\nThe preferred way to install this extension is through [composer](https://getcomposer.org/).\n\nEither run\n\n`php composer.phar require --prefer-dist zxbodya/yii2-elfinder \"*@dev\"`\n\nor add\n\n`\"zxbodya/yii2-elfinder\": \"*@dev\"`\n\nto the require section of your `composer.json` file.\n\n## Backend controller configuration\n\n```php\nnamespace backend\\controllers;         \nuse Yii;       \nuse yii\\web\\Controller;         \nuse zxbodya\\yii2\\elfinder\\ConnectorAction; \n      \nclass ElFinderController extends Controller         \n{         \n    public function actions()         \n    {         \n        return [         \n            'connector' =\u003e array(         \n                'class' =\u003e ConnectorAction::className(),         \n                'settings' =\u003e array(         \n                    'root' =\u003e Yii::getAlias('@webroot') . '/uploads/',                    \n                    'URL' =\u003e Yii::getAlias('@web') . '/uploads/',         \n                    'rootAlias' =\u003e 'Home',         \n                    'mimeDetect' =\u003e 'none'         \n                )                    \n            ),         \n        ];                    \n    }         \n}\n```\n                \n        \n## Widgets usage\n\n### FileInput\nwidget to choose file on server using ElFinder pop-up\n\n```php\necho $form-\u003efield($model, 'filePath')-\u003ewidget(\n    ElFinderInput::className(),\n    ['connectorRoute' =\u003e 'el-finder/connector',]\n)\n```\n### ElFinderWidget\n\n```php\necho ElFinderWidget::widget(\n    ['connectorRoute' =\u003e 'el-finder/connector',]\n)\n```       \n\n## TinyMce integration\nWidgets supports intergation with TinyMce wysiwyg editor \nFor more details see tinymce extension [https://github.com/zxbodya/yii2-tinymce](https://github.com/zxbodya/yii2-tinymce)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzxbodya%2Fyii2-elfinder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzxbodya%2Fyii2-elfinder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzxbodya%2Fyii2-elfinder/lists"}