yiier/yii2-token

RESTful Token for Yii 2

Installs: 16

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 14

Forks: 1

Open Issues: 0

Type:yii2-extension

v0.1 2018-06-01 08:33 UTC

This package is auto-updated.

Last update: 2024-10-25 23:38:44 UTC


README

RESTful Token for Yii 2

Latest Stable Version Total Downloads Latest Unstable Version License

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist yiier/yii2-token "*"

or add

"yiier/yii2-token": "*"

to the require section of your composer.json file.

Migrations

Run the following command

php yii migrate --migrationPath=@yiier/token/migrations/

Usage

Once the extension is installed, simply modify your application configuration as follows:

return [
    'modules' => [
        'token' => [
            'class' => 'yiier\token\Module',
        ],
    ],
];

More detail