xz1mefx / yii2-ufu
User friendly URLs tools package
Installs: 67
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 0
Type:yii2-extension
Requires
- xz1mefx/yii2-multilang: @dev
This package is not auto-updated.
Last update: 2025-01-04 22:03:21 UTC
README
This extension will work only with multilanguage extension
Installation
-
The preferred way to install this extension is through composer, run:
php composer.phar require --prefer-dist xz1mefx/yii2-ufu "~1.0"
-
Previous action also install (if need) the multilanguage extension, so if you did not set it earlier you will need to do it in the first place
-
Execute migration:
php yii migrate --migrationPath=@vendor/xz1mefx/yii2-ufu/migrations --interactive=0
or you can create new migration and extend it, example:
require(Yii::getAlias('@vendor/xz1mefx/yii2-ufu/migrations/m161223_113345_ufu_init.php')); /** * Class m161221_135355_ufu_init */ class m161221_135355_ufu_init extends m161223_113345_ufu_init { }
-
Add ufu-component in main config file:
'ufu' => [ 'class' => \xz1mefx\ufu\components\UFU::className(), ],
-
[not necessary] If you use
iiifx-production/yii2-autocomplete-helper
you need to run:composer autocomplete