{"id":19805370,"url":"https://github.com/black-lamp/yii2-code-editor","last_synced_at":"2026-05-16T07:08:28.787Z","repository":{"id":62494976,"uuid":"71797885","full_name":"black-lamp/yii2-code-editor","owner":"black-lamp","description":"Widget for Ace code editor","archived":false,"fork":false,"pushed_at":"2017-01-03T19:01:06.000Z","size":121,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-04T09:43:43.047Z","etag":null,"topics":["black-lamp","php","yii-extension","yii-widgets","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":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/black-lamp.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2016-10-24T14:33:39.000Z","updated_at":"2019-12-11T23:48:44.000Z","dependencies_parsed_at":"2022-11-02T11:31:24.840Z","dependency_job_id":null,"html_url":"https://github.com/black-lamp/yii2-code-editor","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/black-lamp/yii2-code-editor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/black-lamp%2Fyii2-code-editor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/black-lamp%2Fyii2-code-editor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/black-lamp%2Fyii2-code-editor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/black-lamp%2Fyii2-code-editor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/black-lamp","download_url":"https://codeload.github.com/black-lamp/yii2-code-editor/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/black-lamp%2Fyii2-code-editor/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33093697,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-16T04:41:52.686Z","status":"ssl_error","status_checked_at":"2026-05-16T04:41:52.009Z","response_time":115,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["black-lamp","php","yii-extension","yii-widgets","yii2"],"created_at":"2024-11-12T09:03:41.123Z","updated_at":"2026-05-16T07:08:28.772Z","avatar_url":"https://github.com/black-lamp.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Code editor for Yii2\nWidget for [Ace](https://ace.c9.io) code editor\n\n[![Latest Stable Version](https://poser.pugx.org/black-lamp/yii2-text-editor/version)](https://packagist.org/packages/black-lamp/yii2-text-editor)\n[![Latest Unstable Version](https://poser.pugx.org/black-lamp/yii2-text-editor/v/unstable)](//packagist.org/packages/black-lamp/yii2-text-editor)\n[![License](https://poser.pugx.org/black-lamp/yii2-text-editor/license)](https://packagist.org/packages/black-lamp/yii2-text-editor)\n\nInstallation\n------------\n#### Run command\n```\ncomposer require black-lamp/yii2-text-editor\n```\nor add\n```json\n\"black-lamp/yii2-text-editor\": \"2.0.0\"\n```\nto the require section of your composer.json.\n\nUsing\n-----\nUse widget with ActiveForm\n```php\n$form = ActiveForm::begin();\n    // ...\n    echo $form-\u003efield($model, 'text')\n              -\u003ewidget(bl\\ace\\AceWidget::className(), [\n                    'language' =\u003e 'javascript'\n              ]);\n$form-\u003eend();\n```\n#### Widget configuration properties\n| Option | Option | Default | Description |\n|---|---|---|---|\n|language|string|html|Programming language| \n|theme|string|github|Code editor theme|\n|enableEmmet|boolean|false|Enable emmet plugin for HTML|\n|attributes|array|['style' =\u003e 'max-width: 600px; min-height: 400px;']|HTML attributes for editor container|\n\nFor more information about 'language' and 'theme' configuration attributes read [Ace documentation](https://ace.c9.io/#nav=howto)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblack-lamp%2Fyii2-code-editor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblack-lamp%2Fyii2-code-editor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblack-lamp%2Fyii2-code-editor/lists"}