leuverink / lockdown
Easily lock sections of your Laravel app with Basic Access Authentication using convenient route middleware & configurable guards
Requires
- php: ^7.1.3
- illuminate/console: 5.7.* || 5.8.*
- illuminate/http: 5.7.* || 5.8.*
- illuminate/routing: 5.7.* || 5.8.*
- illuminate/support: 5.7.* || 5.8.*
Requires (Dev)
- codedungeon/phpunit-result-printer: ^0.26.2
- orchestra/testbench: ~3.0
- phpunit/phpunit: ^8.0
- dev-master
- 1.0.0-alpha.3
- 1.0.0-alpha.2
- 1.0.0-alpha.1
- dev-dependabot/composer/codedungeon/phpunit-result-printer-tw-0.26.2or-tw-0.31.0
- dev-dependabot/add-v2-config-file
- dev-dependabot/composer/orchestra/testbench-approx-3.0or-approx-4.0
- dev-upgrade-laravel-6
- dev-analysis-nNej35
- dev-develop
- dev-feature/add-dynamic-driver-properties
This package is auto-updated.
Last update: 2024-10-29 05:46:47 UTC
README
Easily lock sections of your Laravel app with Basic Access Authentication using convenient route middleware & configurable guards
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.