{"id":20523098,"url":"https://github.com/itstructure/yii2-ckeditor","last_synced_at":"2025-04-14T03:06:08.197Z","repository":{"id":56994567,"uuid":"120163704","full_name":"itstructure/yii2-ckeditor","owner":"itstructure","description":"CKEditor widget for Yii2 Framework","archived":false,"fork":false,"pushed_at":"2023-01-22T08:42:55.000Z","size":13,"stargazers_count":4,"open_issues_count":0,"forks_count":2,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-14T03:06:01.422Z","etag":null,"topics":["ckeditor","widget","yii2"],"latest_commit_sha":null,"homepage":"","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/itstructure.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":"2018-02-04T07:16:18.000Z","updated_at":"2024-04-30T17:35:36.000Z","dependencies_parsed_at":"2023-02-12T15:16:33.661Z","dependency_job_id":null,"html_url":"https://github.com/itstructure/yii2-ckeditor","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itstructure%2Fyii2-ckeditor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itstructure%2Fyii2-ckeditor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itstructure%2Fyii2-ckeditor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itstructure%2Fyii2-ckeditor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/itstructure","download_url":"https://codeload.github.com/itstructure/yii2-ckeditor/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248813796,"owners_count":21165633,"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":["ckeditor","widget","yii2"],"created_at":"2024-11-15T22:37:55.791Z","updated_at":"2025-04-14T03:06:08.168Z","avatar_url":"https://github.com/itstructure.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Yii2 CKEditor widget\n==============\n\n## Introduction\n\n[![Latest Stable Version](https://poser.pugx.org/itstructure/yii2-ckeditor/v/stable)](https://packagist.org/packages/itstructure/yii2-ckeditor)\n[![Latest Unstable Version](https://poser.pugx.org/itstructure/yii2-ckeditor/v/unstable)](https://packagist.org/packages/itstructure/yii2-ckeditor)\n[![License](https://poser.pugx.org/itstructure/yii2-ckeditor/license)](https://packagist.org/packages/itstructure/yii2-ckeditor)\n[![Total Downloads](https://poser.pugx.org/itstructure/yii2-ckeditor/downloads)](https://packagist.org/packages/itstructure/yii2-ckeditor)\n[![Build Status](https://scrutinizer-ci.com/g/itstructure/yii2-ckeditor/badges/build.png?b=master)](https://scrutinizer-ci.com/g/itstructure/yii2-ckeditor/build-status/master)\n[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/itstructure/yii2-ckeditor/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/itstructure/yii2-ckeditor/?branch=master)\n\nThis is a **CKEditor** widget for the Yii2 framework with [CKEditor](http://docs.ckeditor.com/) \ntemplate.\n\n## Dependencies\n- php \u003e= 7.1\n- composer\n\n## Installation\n\nVia composer:\n\n`composer require itstructure/yii2-ckeditor ~1.1.6`\n\nor in section **require** of composer.json file set the following:\n\n```json\n\"require\": {\n    \"itstructure/yii2-ckeditor\": \"~1.1.4\"\n}\n```\n\nand command `composer install`, if you install yii2 project extensions first,\n\nor command `composer update`, if all yii2 project extensions are already installed.\n\n## Usage\n\nExample of using in application with an active model and ckfinder:\n\n```php\necho $this-\u003eform-\u003efield($this-\u003emodel, $this-\u003egetFieldName())\n    -\u003ewidget(\n        CKEditor::className(),\n        [\n            'preset' =\u003e 'custom',\n            'clientOptions' =\u003e [\n                'toolbarGroups' =\u003e [\n                    [\n                        'name' =\u003e 'undo'\n                    ],\n                    [\n                        'name' =\u003e 'basicstyles',\n                        'groups' =\u003e ['basicstyles', 'cleanup']\n                    ],\n                    [\n                        'name' =\u003e 'colors'\n                    ],\n                    [\n                        'name' =\u003e 'links',\n                        'groups' =\u003e ['links', 'insert']\n                    ],\n                    [\n                        'name' =\u003e 'others',\n                        'groups' =\u003e ['others', 'about']\n                    ],\n                ],\n                'filebrowserBrowseUrl' =\u003e '/ckfinder/ckfinder.html',\n                'filebrowserImageBrowseUrl' =\u003e '/ckfinder/ckfinder.html?type=Images',\n                'filebrowserUploadUrl' =\u003e '/ckfinder/core/connector/php/connector.php?command=QuickUpload\u0026type=Files',\n                'filebrowserImageUploadUrl' =\u003e '/ckfinder/core/connector/php/connector.php?command=QuickUpload\u0026type=Images',\n                'filebrowserWindowWidth' =\u003e '1000',\n                'filebrowserWindowHeight' =\u003e '700',\n                'allowedContent' =\u003e true,\n                'language' =\u003e 'en',\n            ]\n        ]\n    );\n```\n\n`preset` option can be:\n\n- basic\n- full\n- standard\n\n## License\n\nCopyright © 2018-2023 Andrey Girnik girnikandrey@gmail.com.\n\nLicensed under the [MIT license](http://opensource.org/licenses/MIT). See LICENSE.txt for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitstructure%2Fyii2-ckeditor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fitstructure%2Fyii2-ckeditor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitstructure%2Fyii2-ckeditor/lists"}