ragaga/yii2-content
Composer 安装命令:
composer require ragaga/yii2-content
包简介
Yii 2 content control module with nested set
README 文档
README
Yii 2 Content - Content module based on nested set tree;
Features
- Easy install
- Work with seo tags
- Work with images
- Tree
Installation
- Install package via composer
"ragaga/yii2-content": "dev-master" - Update config file config/web.php
// app/config/web.php return [ 'modules' => [ 'content' => [ 'class' => 'ragaga\yii2\content\Content', 'imageDir' => "@app/web/image", // Image for upload files 'imageUrl' => "/image" // Url to images ], ], ];
- Run migration file
php yii migrate --migrationPath=@vendor/ragaga/yii2-content/migrations
- Go to your application in your browser
http://localhost/pathtoapp/content/admin
- Create your page content
统计信息
- 总下载量: 30
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-02-12