Skip to content

librecmscom/yii2-article

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

yii2-article

适用于Yii2的article

Latest Stable Version Total Downloads Reference Status Build Status Dependency Status License

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.