yuncms / yii2-article
The article module for the yuncms.
Installs: 222
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 1
Open Issues: 0
Type:yii2-extension
Requires
- xutl/yii2-fileupload-widget: ~1.0
- yiisoft/yii2: ~2.0.6
- yiisoft/yii2-queue: ~2.0.0
- yuncms/yii2-collection: ~1.0
- yuncms/yii2-comment: ~2.0
- yuncms/yii2-support: ~1.0
- yuncms/yii2-ueditor-widget: ~1.0.0
- yuncms/yii2-user: ~2.0
README
适用于Yii2的article
Installation
The preferred way to install this extension is through composer.
Either run
$ composer require yuncms/yii2-article
or add
"yuncms/yii2-article": "~2.0.0"
to the require
section of your composer.json
file.
使用
前台模块
yuncms\article\frontend\Module
后台模块
yuncms\article\backend\Module
###Url规则
'articles/<page:\d+>' => 'article/article/index',
'articles' => 'article/article/index',
'article/create' => 'article/article/create',
'article/tag' => 'article/article/tag',
'article/<key:[\w+]+>' => 'article/article/view',
License
This is released under the MIT License. See the bundled LICENSE.md for details.