roundly-consulting/auth-for-laravel
A Laravel authentication package that streamlines login, registration, password resets, and user management with sensible defaults, configurable guards, middleware, routes, and views. It integrates cleanly into existing apps to help you ship secure authentication faster.
authenticationColumns() schema macro plus the authentication:guard migration generator make each new guard a repeatable, reviewable artifact. This supports sequencing (e.g., ship customer auth in Q3, partner auth in Q4) without forking the users table or hand-writing migrations per environment.User subclass or tenant-scoped auth model. Previously this was a silent test-fidelity gap that could turn into a late-stage defect; now test fixtures track the real model, de-risking those initiatives.phpstan/extension-installer through extra.phpstan.includes) so static analysis understands the schema macro. This is a CI-friction decision: without it, migrations calling the macro can fail analysis with "Call to an undefined method" in Testbench, dont-discover, or hand-registered-provider setups. It lets us keep analysis strict rather than suppressing rules.Consider it when:
phpstan/extension-installer, or explicitly include vendor/roundly-consulting/auth-for-laravel/extension.neon. Also verify the provider is booted during analysis in package-development/Testbench or dont-discover setups.Look elsewhere when:
users-table auth — Laravel Breeze/Jetstream/Fortify cover that with less surface area.For executives (one paragraph): We're standardizing how we add new login audiences — customers, partners, internal admins — on a small, actively maintained Laravel package rather than building auth scaffolding ourselves. The alternative is weeks of engineering plus permanent maintenance for something that isn't our differentiator. Release 1.2.2 is a routine patch: it fixes test factories when we use a customized user model, and it teaches our static-analysis tooling about the package's schema helper so CI stops producing false failures. No breaking changes, no migration work, no user-visible impact. Recommendation: approve the patch bump and treat the package as an approved dependency for the multi-persona auth roadmap.
For engineering: Low-risk patch, drop-in. Two things land: (1) factories now build the configured model when a host app swaps it — this closes a test-fidelity hole for tenant-scoped and custom user models; (2) a PHPStan extension ships in extra.phpstan.includes, auto-loaded by phpstan/extension-installer, that resolves the $table->authenticationColumns(): void macro during analysis. If you don't use the installer, add vendor/roundly-consulting/auth-for-laravel/extension.neon to your config; if the provider isn't booted during analysis (Testbench package development, dont-discover, manual provider registration), you were exposed to a "Call to an undefined method" failure in migrations — this removes it. Upgrade in the next maintenance window; no code changes expected.
Ask: approve the patch-level dependency bump, add the static-analysis include note to onboarding docs, and confirm the package stays behind our guard-configuration abstraction so an exit remains cheap.
How can I help you explore Laravel packages today?