PHPackages                             eddycjy/yii2-ueditor - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Templating &amp; Views](/categories/templating)
4. /
5. eddycjy/yii2-ueditor

ActiveLibrary[Templating &amp; Views](/categories/templating)

eddycjy/yii2-ueditor
====================

Yii2 widget for ueditor

1.0.0(8y ago)12311MITPHPPHP &gt;=5.4

Since Nov 5Pushed 8y ago1 watchersCompare

[ Source](https://github.com/EDDYCJY/yii2-ueditor)[ Packagist](https://packagist.org/packages/eddycjy/yii2-ueditor)[ RSS](/packages/eddycjy-yii2-ueditor/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (1)Versions (2)Used By (1)

yii2-ueditor
============

[](#yii2-ueditor)

Requirements
============

[](#requirements)

- PHP &gt;= 5.4.0
- Composer
- Yii2

Installation
============

[](#installation)

```
composer require eddycjy/yii2-ueditor "@dev"
```

Configuration
=============

[](#configuration)

Use File
--------

[](#use-file)

Add to configs file

- yii-basic : config/web.php
- yii-advanced: common/config/main.php

```
'modules' => [
    'ueditor' => [
         'class' => 'Ueditor\UeditorModule',
    ],
],
```

or change ue-configs, upload folder root\_path **@app/web**

```
'modules' => [
    'ueditor' => [
         'class' => 'Ueditor\UeditorModule',
         'imageUrlPrefix' => '',
         'imagePathFormat' => '/upload/image/{yyyy}{mm}{dd}/{time}{rand:6}',
         'scrawlUrlPrefix' => '',
         'scrawlPathFormat' => '',
         'snapscreenUrlPrefix' => '',
         'snapscreenPathFormat' => '',
         'catcherUrlPrefix' => '',
         'catcherPathFormat' => '',
         'videoUrlPrefix' => '',
         'videoPathFormat' => '',
         'fileUrlPrefix' => '',
         'filePathFormat' => '',
         'imageManagerUrlPrefix' => '',
         'imageManagerListPath' => '',
         'fileManagerUrlPrefix' => '',
         'fileManagerListPath' => '',
    ],
],
```

Usage
=====

[](#usage)

Config view/form

```
