2017 © Pedro Peláez
 

yii2-extension yii2-language-url

Language mangement for URL's

image

cyberz/yii2-language-url

Language mangement for URL's

  • Monday, September 21, 2015
  • by cyberz
  • Repository
  • 0 Watchers
  • 0 Stars
  • 38 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Yii2 Url Language management

Language mangement for URL's, (*1)

Installation

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)

Usage

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(); ?>

The Versions

21/09 2015

dev-master

9999999-dev

Language mangement for URL's

  Sources   Download

MIT

The Requires

 

by Avatar cyberz

extension yii2 url language

21/09 2015

1.0.1

1.0.1.0

Language mangement for URL's

  Sources   Download

MIT

The Requires

 

by Avatar cyberz

extension yii2 url language