r39u1 / yii2-redirect
Redirect module for CMF2
Installs: 1
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/r39u1/yii2-redirect
Requires
- php: >=7.1.0
- yiisoft/yii2: ~2.0.12
This package is auto-updated.
Last update: 2025-10-05 04:07:00 UTC
README
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist r39u1/yii2-redirect "*"
or add
"r39u1/yii2-redirect": "*"
to the require section of your composer.json
file.
Configure
frontend:
'container' => [
'definitions' => [
\r39u1\redirect\source\RedirectSourceInterface::class => [
'class' => \r39u1\redirect\source\CsvRedirectSource::class,
'csvPath' => '@app/redirect/redirect.csv',
]
],
],
...
'modules' => [
'redirect' => [
'class' => \r39u1\redirect\Module::class,
],
],
...
'bootstrap' => [
'redirect',
],