esoftslimited/yii2-blog
Composer 安装命令:
composer require esoftslimited/yii2-blog
包简介
Yii2 blog module forked from pendalf89 for improvement and learning purpose
README 文档
README
Yii2 blog module Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist pendalf89/yii2-blog "*"
or add
"pendalf89/yii2-blog": "*"
to the require section of your composer.json file.
Apply migration
yii migrate --migrationPath=vendor/pendalf89/yii2-blog/migrations
Configuration:
'modules' => [ 'blog' => [ 'class' => 'pendalf89\blog\Module', // This option automatically translit entered titles // from russian symbols to english on fly. Default false. 'autoTranslit' => true, // Some options for CKEditor. Default custom options. 'editorOptions' => [], // callback function for create post view url. Have $model argument. 'viewPostUrlCallback' => function($model) { return '/' . $model->id; }, ], ],
Don't forget configure PendalF89/yii2-filemanager extension.
统计信息
- 总下载量: 6
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GNU
- 更新时间: 2015-08-24