{"id":16316648,"url":"https://github.com/philippfrenzel/yii2elfinder","last_synced_at":"2025-04-08T10:32:18.605Z","repository":{"id":57038834,"uuid":"10766448","full_name":"philippfrenzel/yii2elfinder","owner":"philippfrenzel","description":"yii2elfinder","archived":false,"fork":false,"pushed_at":"2015-01-28T15:36:44.000Z","size":1943,"stargazers_count":2,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-23T10:51:11.653Z","etag":null,"topics":[],"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/philippfrenzel.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":"2013-06-18T15:17:48.000Z","updated_at":"2018-03-19T03:30:52.000Z","dependencies_parsed_at":"2022-08-23T23:31:03.109Z","dependency_job_id":null,"html_url":"https://github.com/philippfrenzel/yii2elfinder","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/philippfrenzel%2Fyii2elfinder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philippfrenzel%2Fyii2elfinder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philippfrenzel%2Fyii2elfinder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philippfrenzel%2Fyii2elfinder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/philippfrenzel","download_url":"https://codeload.github.com/philippfrenzel/yii2elfinder/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247824069,"owners_count":21002200,"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-10-10T22:05:15.062Z","updated_at":"2025-04-08T10:32:16.455Z","avatar_url":"https://github.com/philippfrenzel.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"yii2elfinder\n============\n\nThanks to:\nhttps://github.com/Studio-42/elFinder\n\nThanks to:\nzybodya for the current yii version\n\nyii2elfinder\n============\n\nIntro: The old version could not be used, as it's completly not working with the latest jquery version! So\napart from the action, i had to change everything;)\n\nThis extension allows you to integrate ElFinder file manager into your Yii web site's pages. Comparing with elfinder-widget extension this one is implemented with an attempt to provide a more flexible way to configure both ElFinder's client and connector. The extension also relies on the latest release of ElFinder 2.0-rc1 (10th of April, 2012).\n\nHow to install:\n\nAdd this to your composer.json require section\n\n```json\n  \"philippfrenzel/yii2elfinder\": \"dev-master\",\n```\n\nAfter that add into your controller the following function\n\n```php\npublic function actions()\n  {\n    return array(\n      'connector' =\u003e array(\n        'class' =\u003e 'yii2elfinder\\ConnectorAction',\n        'clientOptions'=\u003earray(\n          'locale' =\u003e '',\n          'debug'  =\u003e false,\n            'roots'  =\u003e array(\n                array(\n                    'driver' =\u003e 'LocalFileSystem',\n                    'path'   =\u003e dirname(__DIR__).'/../www/img/cms/',\n                    'URL'    =\u003e '',\n                )\n            )   \n        )\n      )\n    );\n  }\n```\n\nAnd finaly the view should look like this:\n\n```php\n\nuse yii\\helpers\\Html;\nuse yii2elfinder\\yii2elfinder;\n\n/**\n * @var yii\\base\\View $this\n */\n\n$this-\u003etitle = 'File Manager';\n\n?\u003e\n\n\u003ch1\u003e\u003c?php echo Html::encode($this-\u003etitle); ?\u003e\u003c/h1\u003e\n\n\u003c?php\necho yii2elfinder::widget(\n  array(\n    'connectorRoute' =\u003e 'site/connector',\n  )\n);\n?\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphilippfrenzel%2Fyii2elfinder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphilippfrenzel%2Fyii2elfinder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphilippfrenzel%2Fyii2elfinder/lists"}