salehasadi / yii2-category
Complete category management system
Installs: 28
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 1
Open Issues: 0
Type:yii2-extension
Requires
- php: >=5.3.2
- yiidoc/yii2-redactor: *
- yiisoft/yii2: *
- yiisoft/yii2-imagine: ~2.0.0
This package is not auto-updated.
Last update: 2025-01-10 20:01:42 UTC
README
#Categories Management Yii2 Module Complete category management module for Yii2 based web application, Ready to integrate
- Easy to install
- Create Unlimited Multilevel categories
- Category tree structure to visualize category depth
- Category Image
- Category SEO Meta (Title, keywords, Description)
1. Download
Yii2-categories can be installed using composer. Run following command to download and install Yii2-categories:
php composer.phar require salehasadi/yii2-category "dev-master"
2. Configure
Add following lines to your main configuration file to access this module via web URL:
NOTE: Along with category module you also need to configure redactor Module which installed as dependency in category module as below to add wysiwyg editor in category description.
'modules' => [ 'redactor' => 'yii\redactor\RedactorModule', 'category' => [ 'class' => 'salehasadi\category\Module', ], ],
3. Update database schema
The last thing you need to do is updating your database schema by applying the
migrations. Make sure that you have properly configured db
application component
and run the following command:
$ php yii migrate/up --migrationPath=@vendor/salehasadi/yii2-category/migrations