{"id":19197705,"url":"https://github.com/eddycjy/yii2-ueditor","last_synced_at":"2026-04-29T09:05:47.904Z","repository":{"id":56974918,"uuid":"109371675","full_name":"eddycjy/yii2-ueditor","owner":"eddycjy","description":"Yii2 widget for ueditor","archived":false,"fork":false,"pushed_at":"2017-12-05T01:50:03.000Z","size":2583,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-23T05:12:27.598Z","etag":null,"topics":["php","ueditor","yii","yii2-ueditor"],"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/eddycjy.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":"2017-11-03T08:33:52.000Z","updated_at":"2017-11-05T09:28:57.000Z","dependencies_parsed_at":"2022-08-21T11:50:17.600Z","dependency_job_id":null,"html_url":"https://github.com/eddycjy/yii2-ueditor","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/eddycjy/yii2-ueditor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eddycjy%2Fyii2-ueditor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eddycjy%2Fyii2-ueditor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eddycjy%2Fyii2-ueditor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eddycjy%2Fyii2-ueditor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eddycjy","download_url":"https://codeload.github.com/eddycjy/yii2-ueditor/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eddycjy%2Fyii2-ueditor/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259926928,"owners_count":22933131,"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":["php","ueditor","yii","yii2-ueditor"],"created_at":"2024-11-09T12:17:52.558Z","updated_at":"2026-04-29T09:05:42.836Z","avatar_url":"https://github.com/eddycjy.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# yii2-ueditor\n\n# Requirements\n\n- PHP \u003e= 5.4.0\n- Composer\n- Yii2\n\n# Installation\n\n``` sh\ncomposer require eddycjy/yii2-ueditor \"@dev\"\n```\n\n# Configuration\n\n## Use File\n\nAdd to configs file \n\n- yii-basic : config/web.php \n\n- yii-advanced: common/config/main.php\n\n``` php\n'modules' =\u003e [\n    'ueditor' =\u003e [\n         'class' =\u003e 'Ueditor\\UeditorModule',\n    ],\n],\n\n```\n\nor change ue-configs, upload folder root_path **@app/web**\n\n``` php\n'modules' =\u003e [\n    'ueditor' =\u003e [\n         'class' =\u003e 'Ueditor\\UeditorModule',\n         'imageUrlPrefix' =\u003e '',\n         'imagePathFormat' =\u003e '/upload/image/{yyyy}{mm}{dd}/{time}{rand:6}',\n         'scrawlUrlPrefix' =\u003e '',\n         'scrawlPathFormat' =\u003e '',\n         'snapscreenUrlPrefix' =\u003e '',\n         'snapscreenPathFormat' =\u003e '',\n         'catcherUrlPrefix' =\u003e '',\n         'catcherPathFormat' =\u003e '',\n         'videoUrlPrefix' =\u003e '',\n         'videoPathFormat' =\u003e '',\n         'fileUrlPrefix' =\u003e '',\n         'filePathFormat' =\u003e '',\n         'imageManagerUrlPrefix' =\u003e '',\n         'imageManagerListPath' =\u003e '',\n         'fileManagerUrlPrefix' =\u003e '',\n         'fileManagerListPath' =\u003e '',\n    ],\n],\n```\n\n\n\n# Usage\n\nConfig view/form\n\n``` php\n\u003c?= $form-\u003efield($model, 'content')-\u003ewidget(\\Ueditor\\Widgets\\Ueditor::className()) ?\u003e\n```\n\nor widget\n\n``` php\n\u003c?= \\Ueditor\\Widgets\\Ueditor::widget([]) ?\u003e\n```\n\nor config advanced ueditor reference [Docs](http://fex.baidu.com/ueditor/#start-config)\n\n``` php\n\u003c?= \\Ueditor\\Widgets\\Ueditor::widget([\n    'id' =\u003e 'content',\n    'options' =\u003e [\n        'initialFrameWidth' =\u003e 666,\n    ],\n]) ?\u003e\n```\n\n# License\n\nMIT","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feddycjy%2Fyii2-ueditor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feddycjy%2Fyii2-ueditor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feddycjy%2Fyii2-ueditor/lists"}