minvws/puzi-auth-bundle
A Symfony bundle for integrating PuziAuth into your application, providing authentication and authorization services with minimal configuration.
This is the first public release (0.1.0) of puzi/auth-bundle, so treat the package as early-stage and API-unstable. The release notes only announce the initial cut, so the source and its composer.json/service provider are the authoritative reference—start there rather than assuming Laravel Breeze/Fortify conventions.
Recommended first steps:
composer require puzi/auth-bundle) and confirm it supports your Laravel/PHP versions in composer.json before wiring anything up.src/ for PuziAuthBundleServiceProvider (or equivalent) to see what is auto-discovered, what gets bound in the container, and whether it registers routes, guards, or middleware.php artisan vendor:publish and review any published config/*.php and migration files. Since this is a v0.x, published config may still change between releases—treat it as a reference, not a stable contract.php artisan migrate in a throwaway database first to see what tables the bundle expects.If the package registers its own guard or middleware, confirm the guard driver name in config/auth.php matches what the bundle exposes; this is usually the first thing that breaks.
Given the limited release documentation, assume standard Laravel auth-package conventions and verify each against the source:
config/auth.php. If present, set it up as a named guard and reference it with Auth::guard('puzi') or auth:puzi middleware, rather than relying on the default web guard.app/Http/Kernel.php (or bootstrap/app.php in Laravel 11+) and apply it to route groups. Prefer group-level application over per-route to keep definitions consistent.App\Models\User. If it expects an interface, implement it on your existing model instead of swapping models—this keeps the rest of your app intact.login/logout routes and disable the other.A minimal safe workflow: install → publish config/migrations → run migrations in a scratch DB → bind the guard → protect one test route → write a feature test asserting unauthenticated access is redirected and authenticated access succeeds. That test is your guard against breaking changes in the next 0.x release.
0.1.0 is pre-1.0. Expect breaking changes on minor bumps. Pin the version tightly ("puzi/auth-bundle": "0.1.*") and read changelogs before upgrading.src/.config/app.php providers. Check composer.json for a laravel.extra.providers block.users.config/auth.php, run php artisan config:clear—cached config is the most common cause of "guard not found" confusion during setup.Auth::guard('puzi') in a Tinker session to confirm the guard resolves and the user provider is wired. If it returns null unexpectedly, the issue is almost always the provider model or a misconfigured driver, not the bundle logic.0.1.x, keep customizations in your own service provider or listeners so upgrades don't overwrite them.How can I help you explore Laravel packages today?