execut/yii2-alias Yii2 eXeCUT alias

alias

yii2-alias

Warning! Documentation is incomplete. Writing in the progress.

Yii2 module for work with url aliases and routing it between related records in database.

Install

Either run

$ php composer.phar require execut/yii2-crud "dev-master"

or add

"execut/yii2-crud": "dev-master"

to the require section of your composer.json file.

Usage

For configure url rule add alias bootstrap to your application bootstrap config section:

...
'bootstrap' => [
    ...
    [
        'class' => execut\alias\bootstrap\Frontend::class,
    ],
    ...
]
...

For adding changes in target models tables structure, attach module in your console application config module:

'modules' => [
    'alias' => [
        'class' => execut\alias\Module::class,
        'models' => [
            'yourUrlRouteHere' => Model::class,
        ],
    ],
],

Statistics

Downloads
GitHub Stars
GitHub Forks

Releases

Comments



0.9.3 is the latest of 28 releases



Apache-2.0 license
Stats
2 github stars & 1 github forks
0 downloads in the last day
0 downloads in the last 30 days
344 total downloads