thienhungho / yii2-term-management
Yii2 Term Management
Installs: 19
Dependents: 2
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
Type:yii2-extension
Requires
- thienhungho/yii2-app-core: *
- yiisoft/yii2: ~2.0.9
This package is auto-updated.
Last update: 2025-03-01 00:19:26 UTC
README
Term Management System for Yii2
Installation
This is just an example, memorible moment. The source code may not work for known reasons. This source code include against loss license feature.
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist thienhungho/yii2-term-management "*"
or add
"thienhungho/yii2-term-management": "*"
to the require section of your composer.json
file.
Migration
Run the following command in Terminal for database migration:
yii migrate/up --migrationPath=@vendor/thienhungho/TermManagement/migrations
Or use the namespaced migration (requires at least Yii 2.0.10):
// Add namespace to console config: 'controllerMap' => [ 'migrate' => [ 'class' => 'yii\console\controllers\MigrateController', 'migrationNamespaces' => [ 'thienhungho\TermManagement\migrations\namespaced', ], ], ],
Then run:
yii migrate/up
Config
Add module TermManage to your AppConfig
file.
... 'modules' => [ ... /** * Term Manage */ 'term-manage' => [ 'class' => 'thienhungho\TermManagement\modules\TermManage\TermManage', ], ... ], ...
Modules
Functions
Models
Term, TermRelationships, TermType,