2017 © Pedro PelĂĄez
 

yii2-extension yii2-advanced-application-template-user

Yii2 module which provides functionality to deal with user access tokens.

image

humanized/yii2-advanced-application-template-user

Yii2 module which provides functionality to deal with user access tokens.

  • Friday, September 9, 2016
  • by jeffrey.geyssens
  • Repository
  • 2 Watchers
  • 0 Stars
  • 25 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

yii2-advanced-application-template-user

Yii2 module wrapping the user management related functionity provided by the yii2-advanced-template, (*1)

Installation

Install Using Composer

The preferred way to install this extension is through composer., (*2)

Either run, (*3)

$ php composer.phar require humanized/yii2-translation "*"

or add, (*4)

"humanized/yii2-translation": "*"

to the require section of your composer.json file., (*5)

Run Migrations

$ php yii migrate/up --migrationPath=@vendor/humanized/yii2-advanced-application-template-user/migrations

Edit Configuration File

Add following lines to the configuration file:, (*6)

'modules' => [
    'translation' => [
        'class' => 'humanized\translation\Module',
    ],
],

Adding these lines allows access to the various interfaces provided by the module. Here, the chosen module-name is translation, as such the various routes will be available at translation/controller-id/action-id, though any module-name can be chosen., (*7)

This package contains an urlManager component which extends the urlManager component provided by the Codemix Yii2-LocaleUrls package. Here setup of the default application language and population of the enabled website languages are handled automatically. Other configuration options are inherited between components., (*8)

'components' => [
..
        // Languages enabled populated through database storage
        // Further configuration options available at https://github.com/codemix/yii2-localeurls 
        'urlManager' => [
            'class' => 'humanized\translation\components\UrlManager',
            'enablePrettyUrl' => true, 
            'showScriptName' => false,
        ],
..
],

The Versions

09/09 2016

dev-master

9999999-dev

Yii2 module which provides functionality to deal with user access tokens.

  Sources   Download

GPL-3.0

The Requires

 

by Jeffrey Geyssens
by François-Xavier de Saint Pern

user yii2