ragaga / yii2-content
Yii 2 content control module with nested set
Installs: 30
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 1
Open Issues: 0
Type:yii2-extension
Requires
This package is not auto-updated.
Last update: 2020-09-04 19:59:51 UTC
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