Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/keygenqt/last-page
Desc test
https://github.com/keygenqt/last-page
extensions yii2
Last synced: about 11 hours ago
JSON representation
Desc test
- Host: GitHub
- URL: https://github.com/keygenqt/last-page
- Owner: keygenqt
- License: apache-2.0
- Created: 2016-01-28T07:58:54.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2020-05-28T20:44:45.000Z (over 4 years ago)
- Last Synced: 2024-08-04T03:00:00.788Z (4 months ago)
- Topics: extensions, yii2
- Language: PHP
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
Last Page
===================![GitHub](https://img.shields.io/github/license/keygenqt/yii2-last-page)
![Packagist Downloads](https://img.shields.io/packagist/dt/keygenqt/yii2-last-page)LastPage lets you get last url.
## Installation
The preferred way to install this extension is through [composer](http://getcomposer.org/download/).
Either add
```
"require": {
"keygenqt/yii2-last-page": "*"
}
```of your `composer.json` file.
## Usage
All controllers or base controller:
```php
use \keygenqt\lastPage\LastPage;class BaseController extends LastPage
{
...
```Get url:
```php
Yii::$app->user->getReturnUrl()
```