mostbyte/auth
Mostbyte Auth is a Laravel authentication package for PHP applications, providing a foundation for user login and access control. It is designed to integrate with Laravel projects and simplify common authentication setup tasks.
composer require <vendor>/<package>
php artisan vendor:publish --tag=<package>-config
config/auth.php and add the package middleware to your app/Http/Kernel.php or route group.Authorization: Bearer <token>.php artisan route:list and a feature test that asserts a successful login returns a token and that a protected route returns 200 with the token and 401 without it.assertStatus(401) and assert your own JSON envelope if you add one.withoutExceptionHandling() to see the underlying exception.How can I help you explore Laravel packages today?