colbeh/auth
Laravel authentication package by colbeh. Provides auth-related helpers and integrations to simplify login/guard setup and user access in your app. Suitable as a lightweight add-on for projects needing basic authentication scaffolding.
Auth facade, User model, or middleware), it may allow for easy overrides of default behaviors (e.g., custom user models, guards, or policies).bcrypt, laravel/ui, or other auth-related packages).users table with required fields) or is flexible enough to work with existing schemas.laravel/breeze/jetstream provide.bcrypt, argon2)Auth::attempt(), auth() helper)laravel/breeze, spatie/laravel-permission) that are more actively maintained?README and source code for setup instructions.composer require sadeghbarout/colbeh-auth
php artisan migrate
config/auth.php or the package’s config to match your needs (e.g., guards, providers).auth guard) works as expected.up method in service providers).User model, extend it or configure it to use your model:
// config/auth.php
'providers' => [
'users' => [
'driver' => 'eloquent',
'model' => App\Models\CustomUser::class,
],
],
/login, /register) don’t clash with existing routes. Use middleware or route namespacing to resolve conflicts.auth) integrates with your existing middleware stack.How can I help you explore Laravel packages today?