Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/librecmscom/yii2-article

仿sf的专栏
https://github.com/librecmscom/yii2-article

article yii2

Last synced: about 1 month ago
JSON representation

仿sf的专栏

Awesome Lists containing this project

README

        

# yii2-article
适用于Yii2的article

[![Latest Stable Version](https://poser.pugx.org/yuncms/yii2-article/v/stable.png)](https://packagist.org/packages/yuncms/yii2-article)
[![Total Downloads](https://poser.pugx.org/yuncms/yii2-article/downloads.png)](https://packagist.org/packages/yuncms/yii2-article)
[![Reference Status](https://www.versioneye.com/php/yuncms:yii2-article/reference_badge.svg)](https://www.versioneye.com/php/yuncms:yii2-article/references)
[![Build Status](https://img.shields.io/travis/yiisoft/yii2-article.svg)](http://travis-ci.org/yuncms/yii2-article)
[![Dependency Status](https://www.versioneye.com/php/yuncms:yii2-article/dev-master/badge.png)](https://www.versioneye.com/php/yuncms:yii2-article/dev-master)
[![License](https://poser.pugx.org/yuncms/yii2-article/license.svg)](https://packagist.org/packages/yuncms/yii2-article)

## Installation

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```bash
$ 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/' => 'article/article/index',
'articles' => 'article/article/index',
'article/create' => 'article/article/create',
'article/tag' => 'article/article/tag',
'article/' => 'article/article/view',
````

## License

This is released under the MIT License. See the bundled [LICENSE.md](LICENSE.md)
for details.