leuverink/lockdown

Easily lock sections of your Laravel app with Basic Access Authentication using convenient route middleware & configurable guards

1.0.0-alpha.3 2019-05-21 22:15 UTC

README

Easily lock sections of your Laravel app with Basic Access Authentication using convenient route middleware & configurable guards

Build Status Coverage Status Latest Stable Version Latest Unstable Version License


A note on security

Lockdown is meant to shield sections of your project from prying eyes, for example if you like to demo a feature that is not ready for production.

Basic Acces Auth is insecure by nature. If in production always make sure to have TLS configured so all credentials are encrypted. Even with that precaution I heavily discourage you use this package to protect valuable data. It is not meant to do that.

That said there are plenty of situations where a easily configurable Basic Access Auth middleware is exactly what you need. If you find yourself in one of those situations, read on!

Installation

Install the package

composer require leuverink/lockdown

Publish the config file

php artisan vendor:publish --tag="lockdown:config"

Getting started

For usage, check out the documentation.