2017 © Pedro Peláez
 

library basic-auth-with-env

A middleware for Laravel 5.1+ where you can use basic auth with any webserver. Dependend only one config file.

image

tecbeast/basic-auth-with-env

A middleware for Laravel 5.1+ where you can use basic auth with any webserver. Dependend only one config file.

  • Sunday, June 4, 2017
  • by tecbeast
  • Repository
  • 1 Watchers
  • 0 Stars
  • 1,117 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

BasicAuthWithEnv

A middleware for Laravel 5.1+ where you can use basic auth with any webserver. Depending only on one config file., (*1)

Installation

composer require tecbeast/basic-auth-with-env

Add the service provider to the providers array in config/app.php:, (*2)

'providers' => [

    ...

    TecBeast\BasicAuthWithEnv\BasicAuthServiceProvider::class,

],

Add the middleware to the middleware array (for global, otherwise add to route or group (Laravel 5.2+)) in app/Http/Kernel.php:, (*3)

protected $middleware = [
    ...
    \TecBeast\BasicAuthWithEnv\Middleware\BasicAuth::class,
];

Publish the config to your application:, (*4)

php artisan vendor:publish --provider="TecBeast\BasicAuthWithEnv\BasicAuthServiceProvider"

The Versions

04/06 2017

dev-master

9999999-dev

A middleware for Laravel 5.1+ where you can use basic auth with any webserver. Dependend only one config file.

  Sources   Download

MIT

The Requires

 

10/05 2017

1.0.1

1.0.1.0

A middleware for Laravel 5.1+ where you can use basic auth with any webserver. Dependend only one config file.

  Sources   Download

MIT

The Requires

 

10/05 2017

1.0.0

1.0.0.0

A middleware for Laravel 5.1+ where you can use basic auth with any webserver. Dependend only one config file.

  Sources   Download

MIT

The Requires