{"id":39810863,"url":"https://github.com/rkit/fileapi-widget-yii2","last_synced_at":"2026-01-18T12:44:01.429Z","repository":{"id":57047273,"uuid":"43491870","full_name":"rkit/fileapi-widget-yii2","owner":"rkit","description":"FileApi widget for Yii2","archived":false,"fork":false,"pushed_at":"2017-03-10T03:33:33.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-10T12:33:34.968Z","etag":null,"topics":["fileapi","files","upload","yii2"],"latest_commit_sha":null,"homepage":null,"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/rkit.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-10-01T11:03:32.000Z","updated_at":"2018-10-20T22:00:56.000Z","dependencies_parsed_at":"2022-08-23T18:50:53.626Z","dependency_job_id":null,"html_url":"https://github.com/rkit/fileapi-widget-yii2","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/rkit/fileapi-widget-yii2","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rkit%2Ffileapi-widget-yii2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rkit%2Ffileapi-widget-yii2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rkit%2Ffileapi-widget-yii2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rkit%2Ffileapi-widget-yii2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rkit","download_url":"https://codeload.github.com/rkit/fileapi-widget-yii2/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rkit%2Ffileapi-widget-yii2/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28536008,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-18T10:13:46.436Z","status":"ssl_error","status_checked_at":"2026-01-18T10:13:11.045Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["fileapi","files","upload","yii2"],"created_at":"2026-01-18T12:44:00.739Z","updated_at":"2026-01-18T12:44:01.414Z","avatar_url":"https://github.com/rkit.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FileApi widget for Yii2\n\nWrapper for [FileAPI](https://github.com/mailru/FileAPI)\n\n## Installation\n\n```\ncomposer require rkit/fileapi-widget-yii2\n```\n\n## Usage\n\n\u003e See FileApi docs https://github.com/RubaXa/jquery.fileapi/\n\n```php\nuse rkit\\fileapi\\Widget as FileApi;\n…\n\u003c?= $form-\u003efield($model, $attribute, ['template' =\u003e \"{label}\\n{error}\\n{input}\\n{hint}\"])\n    -\u003ewidget(FileApi::className(), [\n        'template' =\u003e '@app/path/to/template',\n        'callbacks' =\u003e [\n            'select' =\u003e new JsExpression('function (evt, ui) {}'),\n            'filecomplete' =\u003e [new JsExpression('function (evt, ui) {}'),\n        ]],\n        'settings' =\u003e [\n            'url' =\u003e yii\\helpers\\Url::toRoute('/url/to/upload'),\n            'imageSize' =\u003e ['minWidth' =\u003e 1000],\n            'accept' =\u003e 'image/*',\n            'duplicate' =\u003e true\n        ]\n    ]);\n?\u003e\n```\n\n## Theme for Bootstrap 3\n\nSee in [assets/css/style.css](assets/css/style.css)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frkit%2Ffileapi-widget-yii2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frkit%2Ffileapi-widget-yii2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frkit%2Ffileapi-widget-yii2/lists"}