{"id":14966556,"url":"https://github.com/yii2-extensions/summernote","last_synced_at":"2026-01-23T02:38:58.607Z","repository":{"id":207909683,"uuid":"711200053","full_name":"yii2-extensions/summernote","owner":"yii2-extensions","description":"Super simple  WYSIWYG editor on Bootstrap.","archived":false,"fork":false,"pushed_at":"2023-12-15T21:31:52.000Z","size":696,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-17T10:47:46.742Z","etag":null,"topics":["summernote","widget","yii2","yii2-extensions"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/yii2-extensions.png","metadata":{"files":{"readme":"README.md","changelog":"changelog.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-10-28T14:09:44.000Z","updated_at":"2023-11-23T08:46:34.000Z","dependencies_parsed_at":"2023-11-18T12:25:51.565Z","dependency_job_id":"d6e8d297-d2aa-495e-8586-f9b06b632896","html_url":"https://github.com/yii2-extensions/summernote","commit_stats":{"total_commits":14,"total_committers":2,"mean_commits":7.0,"dds":0.1428571428571429,"last_synced_commit":"af580edc3be2192a78ea33c4c4785656665c0a9b"},"previous_names":["yii2-extensions/summernote"],"tags_count":0,"template":false,"template_full_name":"yii2-extensions/template","purl":"pkg:github/yii2-extensions/summernote","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yii2-extensions%2Fsummernote","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yii2-extensions%2Fsummernote/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yii2-extensions%2Fsummernote/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yii2-extensions%2Fsummernote/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yii2-extensions","download_url":"https://codeload.github.com/yii2-extensions/summernote/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yii2-extensions%2Fsummernote/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28679137,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-23T01:00:35.747Z","status":"online","status_checked_at":"2026-01-23T02:00:08.296Z","response_time":59,"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":["summernote","widget","yii2","yii2-extensions"],"created_at":"2024-09-24T13:36:35.314Z","updated_at":"2026-01-23T02:38:58.593Z","avatar_url":"https://github.com/yii2-extensions.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://github.com/yii2-extensions/summernote\" target=\"_blank\"\u003e\n        \u003cimg src=\"https://www.yiiframework.com/image/yii_logo_light.svg\" height=\"100px;\"\u003e\n    \u003c/a\u003e\n    \u003ch1 align=\"center\"\u003eSummernote - Super Simple WYSIWYG editor.\u003c/h1\u003e\n    \u003cbr\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://www.php.net/releases/8.1/en.php\" target=\"_blank\"\u003e\n        \u003cimg src=\"https://img.shields.io/badge/PHP-%3E%3D8.1-787CB5\" alt=\"php-version\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://github.com/yii2-extensions/summernote/actions/workflows/build.yml\" target=\"_blank\"\u003e\n        \u003cimg src=\"https://github.com/yii2-extensions/summernote/actions/workflows/build.yml/badge.svg\" alt=\"PHPUnit\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://github.com/yii2-extensions/summernote/actions/workflows/compatibility.yml\" target=\"_blank\"\u003e\n        \u003cimg src=\"https://github.com/yii2-extensions/summernote/actions/workflows/compatibility.yml/badge.svg\" alt=\"PHPUnit\"\u003e\n    \u003c/a\u003e    \n    \u003ca href=\"https://codecov.io/gh/yii2-extensions/summernote\" target=\"_blank\"\u003e\n        \u003cimg src=\"https://codecov.io/gh/yii2-extensions/summernote/branch/main/graph/badge.svg?token=MF0XUGVLYC\" alt=\"Codecov\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://dashboard.stryker-mutator.io/reports/github.com/yii2-extensions/summernote/main\" target=\"_blank\"\u003e\n        \u003cimg src=\"https://img.shields.io/endpoint?style=flat\u0026url=https%3A%2F%2Fbadge-api.stryker-mutator.io%2Fgithub.com%2Fyii2-extensions%2Fsummernote%2Fmain\" alt=\"Infection\"\u003e\n    \u003c/a\u003e       \n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://github.com/yii2-extensions/summernote\" target=\"_blank\"\u003e\n        \u003cimg src=\"docs/images/summernote.png\"\u003e\n    \u003c/a\u003e\n\u003c/p\u003e\n\n## Installation\n\nThe preferred way to install this extension is through [composer](https://getcomposer.org/download/).\n\nEither run\n\n```\ncomposer require --dev --prefer-dist yii2-extensions/summernote\n```\n\nor add\n\n```\n\"yii2-extensions/summernote\": \"dev-main\"\n```\n\nto the require-dev section of your `composer.json` file.\n\n## Usage\n\n### Name\n\n```php\nuse Yii2\\Extensions\\Summernote\\Summernote;\n\necho Summernote::widget(\n    [\n        'name' =\u003e 'content',\n        'value' =\u003e $value,\n        'config' =\u003e [\n            'focus' =\u003e true,\n            'height' =\u003e 200,\n            'maxHeight' =\u003e null,\n            'minHeight' =\u003e null,\n            'placeholder' =\u003e 'Write here...',\n        ],\n    ]\n);\n```\n\n### Active Field\n\n```php\nuse Yii2\\Extensions\\Summernote\\Summernote;\n\necho $form\n    -\u003efield($model, 'content')\n    -\u003ewidget(\n        Summernote::class,\n        [\n            'config' =\u003e [\n                'focus' =\u003e true,\n                'height' =\u003e 200,\n                'maxHeight' =\u003e null,\n                'minHeight' =\u003e null,\n                'placeholder' =\u003e 'Write here...',\n            ],\n        ]\n    );\n```\n\n### Properties of the widget\n\n| Property | Type     | Description                      | Default |\n|----------|----------|----------------------------------|---------|\n| `config` | `array ` | The configuration of the widget. | `[]`    |\n\n\u003e When YII_ENV is set to `dev` or `test`, the widget will load the non-minified version of the JavaScript files,\n\u003e otherwise it will load the minified version.\n\n## Quality code\n\n[![static-analysis](https://github.com/yii2-extensions/gii/actions/workflows/static.yml/badge.svg)](https://github.com/yii2-extensions/summernote/actions/workflows/static.yml)\n[![phpstan-level](https://img.shields.io/badge/PHPStan%20level-7-blue)](https://github.com/yii2-extensions/summernote/actions/workflows/static.yml)\n[![style-ci](https://github.styleci.io/repos/711200053/shield?branch=main)](https://github.styleci.io/repos/711200053?branch=main)\n\n## Support versions Yii2\n\n[![Yii20](https://img.shields.io/badge/Yii2%20version-2.0-blue)](https://github.com/yiisoft/yii2/tree/2.0.49.3)\n[![Yii22](https://img.shields.io/badge/Yii2%20version-2.2-blue)](https://github.com/yiisoft/yii2/tree/2.2)\n\n## Testing\n\n[Check the documentation testing](/docs/testing.md) to learn about testing.\n\n## Our social networks\n\n[![Twitter](https://img.shields.io/badge/twitter-follow-1DA1F2?logo=twitter\u0026logoColor=1DA1F2\u0026labelColor=555555?style=flat)](https://twitter.com/Terabytesoftw)\n\n## License\n\nThe MIT License. Please see [License File](LICENSE.md) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyii2-extensions%2Fsummernote","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyii2-extensions%2Fsummernote","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyii2-extensions%2Fsummernote/lists"}