dev-master
9999999-devLanguage mangement for URL's
MIT
The Requires
by cyberz
extension yii2 url language
1.0.1
1.0.1.0Language mangement for URL's
MIT
The Requires
by cyberz
extension yii2 url language
Language mangement for URL's
Language mangement for URL's, (*1)
The preferred way to install this extension is through composer., (*2)
Either run, (*3)
php composer.phar require --prefer-dist cyberz/yii2-language-url "*"
or add, (*4)
"cyberz/yii2-language-url": "*"
to the require section of your composer.json
file., (*5)
Once the extension is installed, simply use it in your code by :, (*6)
1)Apply migartion:, (*7)
php yii migrate/up --migrationPath=vendor/cyberz/yii2-language-url/language/migrations
2)Setup config:, (*8)
'components' => [ 'request' => [ 'class' => 'cyberz\language\components\LanguageRequest' ... 'urlManager' => [ 'class'=>'cyberz\language\components\LanguageUrlManager', ...
3)Use widget:, (*9)
<?= \cyberz\language\widgets\Switcher::widget(); ?>
Language mangement for URL's
MIT
extension yii2 url language
Language mangement for URL's
MIT
extension yii2 url language