keygenqt / yii2-last-page
LastPage lets you get last url.
Installs: 419
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:yii2-extension
Requires
- php: >=5.4.0
- yiisoft/yii2: *
This package is auto-updated.
Last update: 2024-11-29 04:22:43 UTC
README
LastPage lets you get last url.
Installation
The preferred way to install this extension is through composer.
Either add
"require": {
"keygenqt/yii2-last-page": "*"
}
of your composer.json
file.
Usage
All controllers or base controller:
use \keygenqt\lastPage\LastPage; class BaseController extends LastPage { ...
Get url:
Yii::$app->user->getReturnUrl()