dev-master
9999999-devUser friendly URLs tools package
MIT
The Requires
by Vitalii Zagorodniuk
language url yii2 xz1mefx user friendly
User friendly URLs tools package
This extension will work only with multilanguage extension, (*2)
The preferred way to install this extension is through composer, run:, (*3)
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, (*4)
Execute migration:, (*5)
php yii migrate --migrationPath=@vendor/xz1mefx/yii2-ufu/migrations --interactive=0
or you can create new migration and extend it, example:, (*6)
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:, (*7)
'ufu' => [ 'class' => \xz1mefx\ufu\components\UFU::className(), ],
[not necessary] If you use iiifx-production/yii2-autocomplete-helper
you need to run:, (*8)
composer autocomplete
User friendly URLs tools package
MIT
language url yii2 xz1mefx user friendly