2017 © Pedro Peláez
 

library laravel-reauth

Reauth users for sensitive parts of your app

image

gocrew/laravel-reauth

Reauth users for sensitive parts of your app

  • Friday, April 29, 2016
  • by pascalschwientek
  • Repository
  • 2 Watchers
  • 5 Stars
  • 294 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 1 Open issues
  • 8 Versions
  • 0 % Grown

The README.md

Laravel ReAuth

Build Status Latest Stable Version Latest Unstable Version License, (*1)

Re-Auth users for sensitive parts of your app., (*2)

Installation

Step 1: Composer

From the command line, run:, (*3)

composer require gocrew/laravel-reauth

Step 2: Service Provider

For your Laravel app, open config/app.php and, within the providers array, append:, (*4)

gocrew\LaravelReAuth\ServiceProvider::class

This will bootstrap the package into Laravel., (*5)

Step 3: The Middleware

In your app\Http\Kernel.php file, add the reauth middleware to the $routeMiddleware array., (*6)

protected $routeMiddleware = [
    // ...
    'reauth'         => \gocrew\LaravelReAuth\Http\Middleware\Reauthenticate::class,
    // ...
];

Usage

Basic

Apply the middleware on a route you want to protect:, (*7)

Route::get('settings', ['uses' => 'Controller@getSettings', 'middleware' => 'reauth']);

Done!, (*8)

Advanced

If you need a more advanced setup, no problem. Everything is overwritable and everything is as modular as possible., (*9)

TODO

  • advanced docs
  • tests

License

The contents of this repository is released under the MIT license., (*10)

The Versions

29/04 2016

dev-master

9999999-dev

Reauth users for sensitive parts of your app

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel authentication security reauthentication password prompt reauth gocrew

29/04 2016

v1.0.6

1.0.6.0

Reauth users for sensitive parts of your app

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel authentication security reauthentication password prompt reauth gocrew

27/03 2016

v1.0.5

1.0.5.0

Reauth users for sensitive parts of your app

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel authentication security reauthentication password prompt reauth gocrew

01/03 2016

v1.0.4

1.0.4.0

Reauth users for sensitive parts of your app

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel authentication security reauthentication password prompt reauth gocrew

01/03 2016

v1.0.3

1.0.3.0

Reauth users for sensitive parts of your app

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel authentication security reauthentication password prompt reauth gocrew

01/03 2016

v1.0.1

1.0.1.0

Reauth users for sensitive parts of your app

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel authentication security reauthentication password prompt reauth gocrew

01/03 2016

v1.0.2

1.0.2.0

Reauth users for sensitive parts of your app

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel authentication security reauthentication password prompt reauth gocrew

01/03 2016

v1.0

1.0.0.0

Reauth users for sensitive parts of your app

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel authentication security reauthentication password prompt reauth gocrew