directorytree/bartender
Opinionated Laravel Socialite auth starter. Ships ready-made routes (/auth/{driver}/redirect, /callback), controller, and user columns for provider ID/name plus optional access/refresh tokens. Highly customizable; supports soft deletes and email verification.
StoresProviderTokens interface) and session security (e.g., session regeneration post-auth).ProviderRepository."Bartender cuts the time to launch social logins from weeks to hours by providing a battle-tested, opinionated framework for OAuth in Laravel. It’s like using a pre-built authentication ‘Lego block’—we get Google/Microsoft logins with email verification, token storage, and soft deletes out of the box, while keeping full control to customize later. This reduces dev costs by ~70% compared to building from scratch and aligns with our roadmap to support enterprise (Microsoft) and consumer (Google) users seamlessly. The MIT license and active maintenance (last release: March 2026) ensure long-term reliability."
*"Bartender abstracts the boilerplate of Socialite providers (routes, controllers, migrations) while exposing strategic extension points:
StoresProviderTokens without bloating the DB if unused.
It’s Laravel-native, supports Laravel 9–13, and plays well with Sanctum/Passport if we need to layer on API auth later. The package’s maturity (285 stars, active releases) and MIT license make it a low-risk choice for our auth stack."**"This lets us A/B test login flows (e.g., Google vs. Microsoft for enterprise vs. consumer) without backend changes. The package handles edge cases like:
How can I help you explore Laravel packages today?