facile-it/php-openid-client
Full-featured PHP OpenID Connect/OAuth2 client with discovery and dynamic client registration. Supports authorization flows, refresh/client credentials grants, userinfo & ID tokens, JWT signing/encryption, request objects, token revocation/introspection, and advanced client auth.
private_key_jwt) for regulatory requirements (e.g., GDPR, HIPAA).Adopt if:
Look elsewhere if:
onelogin/php-saml)."This package lets us integrate with any OpenID Connect provider (Google, Okta, etc.) with zero custom auth code, reducing development time by 80% while adding enterprise-grade security. It supports modern flows like PKCE and JWT-based auth, which are critical for compliance and API security. For multi-tenant SaaS, it automates client registration—saving months of manual setup. The performance optimizations (caching metadata) ensure scalability without added infrastructure costs."
*"This is a drop-in OAuth 2.0/OIDC client for Laravel that handles:
Why not build it?
node-openid-client (used by millions).Trade-offs:
gmp extension for RSA signing (common in shared hosting).Next Steps:
How can I help you explore Laravel packages today?