joselfonseca/lighthouse-graphql-passport-auth
Adds Laravel Passport authentication to Lighthouse GraphQL APIs, with register, login, refresh, logout, and current-user mutations plus configurable guards and token handling for securing GraphQL endpoints.
Good fit when:
Look elsewhere when:
To executives: This is a small, focused open-source package that handles user login and token refresh for our GraphQL API, so we do not build and maintain that logic ourselves. The new 11.0.0 release keeps it compatible with the current generation of Laravel's authentication library. It is low-cost to adopt but carries single-maintainer risk on a security-relevant component; we should adopt it to save engineering time while keeping a documented exit path.
To engineering: v11.0.0 is a major version whose substantive change is Passport 13 support — treat it as a compatibility bump, not a feature release. Expect the prior Passport/Laravel support matrix to be dropped. Before upgrading, confirm our Laravel and Passport versions, run the full auth flow suite (login, refresh, logout, token expiry), and check the changelog for the 10.x → 11.x upgrade notes. If we are not yet on Passport 13, pin to 10.0.4 and schedule the upgrade with the platform bump rather than adopting it ad hoc.
How can I help you explore Laravel packages today?