smorken/auth
Laravel authentication package that provides ready-made login, registration, and password reset flows. It integrates with Laravel's auth system and offers configurable routes, views, and guards to help secure your application quickly.
smorken/auth is a thin Laravel auth helper covering login, registration, password reset, guards/providers, and route-protection middleware. It is an input to the decision of how much of the authentication surface your team builds versus borrows — not a justification to outsource identity itself.Consider it only when all of the following hold:
composer.json constraints against your framework version before anything else. An unversioned helper is likely pinned to an older major.Auth, Gate, policies, Breeze, Fortify, or Sanctum genuinely do not — not just syntactic sugar.Look elsewhere when:
Gate/policies) and, for permissions, established packages like Spatie laravel-permission or Bouncer.Adoption gate before any commit: confirm license, last-commit date, open issues, PHP/Laravel compatibility, test presence, and a named internal owner. If any of those fail, recommend against — and reimplement the specific helper internally under your own tests and license if the functionality is genuinely needed.
For executives: This is a small, single-maintainer Laravel authentication helper with essentially no adoption — no stars, no downstream dependents, a composite score of 0, and Bitbucket hosting that keeps it outside Packagist and standard security-advisory tooling. It is cheap to trial and expensive to depend on: no vendor, no community, no SLA, no maintenance guarantee, and a bus factor of one. My recommendation is not to standardize on it. At most, treat it as a short-lived prototype shortcut while we settle a first-party or well-supported auth direction. The strategic decision it informs — how we handle identity — belongs on the roadmap, and that decision should be made on durability, security, and supportability, not on convenience.
For engineering: Treat smorken/auth as a reference implementation, not a dependency. Read it for patterns around guards, providers, and route middleware, then build on Laravel's native auth (Gate, policies, Breeze/Fortify) with a maintained permissions package. The one question that decides everything is: what does this add that the framework does not already provide? If the answer is syntactic sugar, the risk is unjustifiable. If we do trial it, wrap it behind a single internal adapter (an AuthService facade) so call sites depend on our interface, pin the exact commit, vendor the source, assign an owner, and timebox the spike. Expect the realistic outcome to be reject or fork and own it — the spike exists to confirm or overturn that prior, not to build toward adoption by default. Do not introduce it into anything customer-facing without a security review and a fork-and-maintain plan; the silent failure modes (a Laravel upgrade breaking password-reset or remember-me flows, an unreported vulnerability, or the VCS reference becoming unresolvable and breaking clean builds for every consumer at once) are low-probability per quarter and high-impact when they land.
How can I help you explore Laravel packages today?