Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
challgren authored Jan 3, 2019
1 parent 8cde80d commit 8abda6c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,22 @@
[![Total Downloads](https://poser.pugx.org/jomweb/cake-impersonate/d/total.svg)](https://packagist.org/packages/jomweb/cake-impersonate)

# CakeImpersonate
CakePHP Impersonate Plugin. A component that stores the current authentication session and creates new session for impersonating Users. User can revert back to original authentication sessions without the need to re-login.
CakePHP 3.7 Impersonate Plugin. A component that stores the current authentication session and creates new session for impersonating Users. User can revert back to original authentication sessions without the need to re-login.

# Requirement
1. CakePHP 3.6 and above.
2. Use of default CakePHP AuthComponent.
1. CakePHP 3.7 and above.

# Installation
`
composer require jomweb/cake-impersonate
`

# Plugin Load
Open \config\bootstrap.php add
Open \src\Application.php add
```php
Plugin::load('CakeImpersonate');
$this->addPlugin('CakeImpersonate');
```
to your bootstrap() method or call `bin/cake plugin load CakeImpersonate`

Load the component from controller
```php
Expand Down

0 comments on commit 8abda6c

Please sign in to comment.