shoxabbos/yii2-news
Composer 安装命令:
composer require shoxabbos/yii2-news
包简介
News crud
关键字:
README 文档
README
News crud
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist shoxabbos/yii2-news "*"
or add
"shoxabbos/yii2-news": "*"
to the require section of your composer.json file.
Usage
Once the extension is installed, simply use it in your code by :
php yii migrate --migrationPath=@vendor/shoxabbos/yii2-news/migrations
'modules' => [ 'admin' => [ 'class' => 'app\modules\admin\Module', 'controllerMap' => [ 'config' => 'shoxabbos\news\controllers\NewsController' ] ], ]
After that, you can open the pages as:
/admin/news/create /admin/news/update /admin/news/view /admin/news/index
统计信息
- 总下载量: 228
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-08-13