{"id":22468705,"url":"https://github.com/toir427/yii2-aceeditor","last_synced_at":"2026-04-30T03:33:35.807Z","repository":{"id":57071091,"uuid":"230952336","full_name":"toir427/yii2-aceeditor","owner":"toir427","description":"Yii 2.0 Ace Editor Widget","archived":false,"fork":false,"pushed_at":"2019-12-30T17:13:02.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-01T08:42:07.508Z","etag":null,"topics":["ace-editor","yii2","yii2-extension"],"latest_commit_sha":null,"homepage":"","language":"PHP","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/toir427.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":"2019-12-30T17:12:13.000Z","updated_at":"2020-10-27T08:28:48.000Z","dependencies_parsed_at":"2022-08-24T14:54:25.488Z","dependency_job_id":null,"html_url":"https://github.com/toir427/yii2-aceeditor","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/toir427/yii2-aceeditor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toir427%2Fyii2-aceeditor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toir427%2Fyii2-aceeditor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toir427%2Fyii2-aceeditor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toir427%2Fyii2-aceeditor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/toir427","download_url":"https://codeload.github.com/toir427/yii2-aceeditor/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toir427%2Fyii2-aceeditor/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32453792,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T22:27:22.272Z","status":"online","status_checked_at":"2026-04-30T02:00:05.929Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["ace-editor","yii2","yii2-extension"],"created_at":"2024-12-06T11:19:09.119Z","updated_at":"2026-04-30T03:33:30.789Z","avatar_url":"https://github.com/toir427.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Ace Editor Widget For Yii2\n=======================\n\nAbout\n-----\nIt is [Ace Editor](https://ace.c9.io/#nav=about) integration for Yii2 framework.\n\nDemo\n----\nAce Editor demo can be found [here](https://ace.c9.io/#ace_editor_demo=\u0026nav=about)\n\nInstallation\n------------\n\nThe preferred way to install this extension is through [composer](http://getcomposer.org/download/).\n\nEither run\n\n```\ncomposer require toir427/yii2-aceeditor \"dev-master\"\n```\n\nor add\n\n```\n\"toir427/yii2-aceeditor\": \"*\"\n```\n\nto the require section of your `composer.json` file.\n\nUsage\n-----------------------\n\nUsing model\n\n```php\n\\toir427\\aceeditor\\AceEditor::widget([\n\t// You can either use it for model attribute\n\t'model' =\u003e $my_model,\n\t'attribute' =\u003e 'my_field',\n\n\t// or just for input field\n\t'name' =\u003e 'my_input_name',\n\n    'mode'=\u003e'html', // programing language mode. Default \"html\"\n    'theme'=\u003e'github', // editor theme. Default \"github\"\n    'readOnly'=\u003e'true' // Read-only mode on/off = true/false. Default \"false\"\n]);\n```\n\nWith active field\n\n```php\n$form-\u003efield($model, 'field')-\u003ewidget(\n        \\toir427\\aceeditor\\AceEditor::className(),\n        [\n            'mode'=\u003e'html', // programing language mode. Default \"html\"\n            'theme'=\u003e'github', // editor theme. Default \"github\"\n            'readOnly'=\u003e'true' // Read-only mode on/off = true/false. Default \"false\"\n        ]\n    )\n```\nLists of all available modes and themes see [here](https://github.com/ajaxorg/ace)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoir427%2Fyii2-aceeditor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftoir427%2Fyii2-aceeditor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoir427%2Fyii2-aceeditor/lists"}