Skip to content

Commit d23e8aa

Browse files
author
陈家辉
committed
build(添加read.md):
1 parent 3dad010 commit d23e8aa

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

README.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,41 @@
11
# yii2-post
22
yii2 post module
3+
[![StyleCI](https://styleci.io/repos/99540308/shield?branch=master)](https://styleci.io/repos/99540308)
4+
[![Build Status](https://travis-ci.org/monster-hunter/yii2-settings.svg?branch=master)](https://travis-ci.org/monster-hunter/yii2-settings)
5+
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/monster-hunter/yii2-settings/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/monster-hunter/yii2-settings/?branch=master)
6+
[![Code Coverage](https://scrutinizer-ci.com/g/monster-hunter/yii2-settings/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/monster-hunter/yii2-settings/?branch=master)
7+
[![Build Status](https://scrutinizer-ci.com/g/monster-hunter/yii2-settings/badges/build.png?b=master)](https://scrutinizer-ci.com/g/monster-hunter/yii2-settings/build-status/master)
8+
9+
Yii2 post
10+
=============
11+
Yii2 Database settings
12+
13+
Installation
14+
------------
15+
16+
The preferred way to install this extension is through [composer](http://getcomposer.org/download/).
17+
18+
Either run
19+
20+
```
21+
php composer.phar require --prefer-dist zacksleo/yii2-post "*"
22+
```
23+
24+
or add
25+
26+
```
27+
"zacksleo/yii2-post": "*"
28+
```
29+
30+
to the require section of your `composer.json` file.
31+
32+
Subsequently, run
33+
34+
```php
35+
./yii migrate/up --migrationPath=@vendor/zacksleo/yii2-post/migrations
36+
```
37+
38+
in order to create the settings table in your database.
39+
40+
41+
```

0 commit comments

Comments
 (0)