NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist
Packagist, #3682 most downloaded on Packagist
Laravel stateless HTTP basic auth without the need for a database
Latest stable
v2.1.0
Last release 8 months ago
19 Mar 2026
Ships fairly regularly
a new release about every 6 months
Nearly every release is documented
notes for 31 of 34 stable releases
Nothing withdrawn
no release was ever pulled
11 years old
34 releases · first in 2015
Drag across the ruler to compare, or tap a release to open it.
Updates to enable a view as a response as a compliment to the plain text message. This also enables translation-functions and more for the response (s
Updates to enable a view as a response as a compliment to the plain text message. This also enables translation-functions and more for the response (see #11 for discussion).
Tweaks, updates, improved readme and some cleanups.
Minor fixes; adjusted the branch alias for composer.
Minor fixes; adjusted the branch alias for composer.
Compatibility fix when using Laravel 5.2 and PHP7.x as a combo.
Compatibility fix when using Laravel 5.2 and PHP7.x as a combo.
Your coding agent can read these notes before it upgrades. Set up the MCP server →
A minor issue with the used testing framework (orchestra/testbench) could cause extremely long install times upon composer require when not using the
A minor issue with the used testing framework (orchestra/testbench) could cause extremely long install times upon composer require when not using the --no-dev-flag, even leading to timeouts on occasions.
Issue has been fixed together with some other minor updates to README.md etc.
Minor fixes and tweaks to composer.json and readme.md.
Minor fixes and tweaks to composer.json and readme.md.
Going forward this package will only support current versions of Laravel. Support for 9, 10 and 11 dropped.
Going forward this package will only support current versions of Laravel. Support for 9, 10 and 11 dropped.
Full Changelog: https://github.com/olssonm/l5-very-basic-auth/compare/v7.3...v7.4
Added option to use hashed password instead of plain by @andrii-trush in https://github.com/olssonm/l5-very-basic-auth/pull/68
Full Changelog: https://github.com/olssonm/l5-very-basic-auth/compare/v7.2...v7.3
PHP 8.4 compat-check by @olssonm in https://github.com/olssonm/l5-very-basic-auth/pull/66
Full Changelog: https://github.com/olssonm/l5-very-basic-auth/compare/v7.1...v7.2
Add Laravel 11 Support by @sweptsquash in https://github.com/olssonm/l5-very-basic-auth/pull/64
Full Changelog: https://github.com/olssonm/l5-very-basic-auth/compare/v7.0...v7.1
This release fixes an issue where a config.php was attempted to be written with each request if bad permissions where used on the system.
This release fixes an issue where a config.php was attempted to be written with each request if bad permissions where used on the system.
Note: With this release and going forward basic auth is inactive if no user/password is set. This is so that different apps doesn't end up with any default credentials. This warrants a major update from v6 to v7. Other than that, this version is fully backwards compatible.
Full Changelog: https://github.com/olssonm/l5-very-basic-auth/compare/v6.9...v7.0
Fix broken build-shield by @olssonm in https://github.com/olssonm/l5-very-basic-auth/pull/60
Full Changelog: https://github.com/olssonm/l5-very-basic-auth/compare/v6.8...v6.9
Ability to set fully customizable response-handler by @olssonm in https://github.com/olssonm/l5-very-basic-auth/pull/59
Full Changelog: https://github.com/olssonm/l5-very-basic-auth/compare/v6.7...v6.8
### What's Changed * Add support for Laravel 9 Full Changelog: https://github.com/olssonm/l5-very-basic-auth/compare/v6.6...v6.7
Full Changelog: https://github.com/olssonm/l5-very-basic-auth/compare/v6.6...v6.7
Hint to use predefined ENVs in the very_basic_auth-config file; env('BASIC_AUTH_USERNAME') and env('BASIC_AUTH_PASSWORD'). The auto-generated random p
Hint to use predefined ENVs in the very_basic_auth-config file; env('BASIC_AUTH_USERNAME') and env('BASIC_AUTH_PASSWORD'). The auto-generated random password is still used as a fallback.
Various other fixes and improvements.
Bump for compatibility-check with PHP 8.
Bump for compatibility-check with PHP 8.
Support for the just released Laravel 8.
Support for the just released Laravel 8.
Hotfix for error in composer.json. Supersedes v6.2.
Hotfix for error in composer.json. Supersedes v6.2.
Minor version bump as this version does not contain any breaking changes.
Updated composer.json for use with the just released Laravel 7.
Minor version bump as this version does not contain any breaking changes.
Fix for an issue with a random password upon setup.
Fix for an issue with a random password upon setup.
Compatibility check for the newly released Laravel 6.0.
Compatibility check for the newly released Laravel 6.0.
Support dropped for versions prior to Laravel 5.8. PHP 7.1 is now also required (note, PHP 7.2 is required for Laravel 6.0).
For other versions of Laravel, please check the v5.6-tag.
Allows for the use of inline credentials, as such:
Allows for the use of inline credentials, as such:
Route::get('/', [
'as' => 'start',
'uses' => 'StartController@index',
'middleware' => 'auth.very_basic:username,password'
]);
See #25 for discussion.
Nothing published for this version
The package now checks if the request expects a JSON-response; if so it will automatically provide one.
The package now checks if the request expects a JSON-response; if so it will automatically provide one.
Nothing published for this version
Support for the realm-attribute that hopefully fixes some minor issues with Internet Explorer (thanks faiare)!
Support for the realm-attribute that hopefully fixes some minor issues with Internet Explorer (thanks faiare)!
If updating from a previous version you will have to add realm to your config to be able to edit the value (check out the config stub) – a default value is set however.
Also some other cleanup and improvements.
New option for wildcard in the envs-array (thank you @amenk for your contribution!)
New option for wildcard in the envs-array (thank you @amenk for your contribution!)
Fix for inefficient dependancy installation with Composer (sorry if the package took way too long to install). Also fixed the test suit with some better tests and more coverage.
Minor tweaks to make sure the package is usable for Laravel 5.4, 5.5 *and* 5.6. Also a new Travis CI-matrix for easier testing for future Laravel upda
Lararel 5.6 update
Minor tweaks to make sure the package is usable for Laravel 5.4, 5.5 and 5.6. Also a new Travis CI-matrix for easier testing for future Laravel updates.
Documentation now also available in Japanese.
Minor edits and cleanup.
Documentation now also available in Japanese.
Support for Laravel 5.5, also with Package Auto-Discovery (read more in the documentation).
Support for Laravel 5.5, also with Package Auto-Discovery (read more in the documentation).
Laravel 5.4 changed up some things on how middlewares are loaded onto routes from – for example – a service provider (read more here under "Routing").
Laravel 5.4 support
Laravel 5.4 changed up some things on how middlewares are loaded onto routes from – for example – a service provider (read more here under "Routing"). This is now fixed.
Misc. other changes, cleanups and tweaks.
Minor adjustments and checks to make sure the package works with the newly released Laravel 5.3.
Minor adjustments and checks to make sure the package works with the newly released Laravel 5.3.
Added security by using random passwords upon first usage. Still use $ php artisan vendor:install to edit the configuration by yourself.
Added security by using random passwords upon first usage. Still use $ php artisan vendor:install to edit the configuration by yourself.
Updates to documentation/readme.md.
Fixed mockery as a dev-dependency. Added testing for registered middleware.
Fixed mockery as a dev-dependency.
Added testing for registered middleware.
Nothing published for this version
One column per quarter.