auth0/auth0-php
The official Auth0 PHP SDK for Authentication and Management APIs. Build PHP 8.2+ apps with PSR-18/17/7 HTTP support and tailored Laravel, Symfony, and WordPress SDKs. Includes quickstarts for session-based web apps and token-protected backend APIs.
renew() — closing a real gap where a refreshed session could be established without full token validation. This is a silent risk reduction for any long-lived session or silent-refresh flow, and a reason to upgrade promptly rather than pin an older 9.x.auth0/laravel-auth0 for middleware and session handling.renew() fix alone justifies letting the SDK own this."The Auth0 PHP SDK has moved from beta to a stable 9.5.0 release, so the vendor-risk objection that stalled this decision is now resolved. It integrates enterprise-grade authentication into our Laravel apps, cutting auth development time substantially while delivering MFA, SSO, and compliance out of the box. This release also adds CAPTCHA bot protection and multi-application profiles — roadmap items we would otherwise have to build. Critically, it patches ID-token validation on session renewal, reducing breach exposure in an area that is easy to get wrong. Auth0 owns security updates and compliance, so we avoid hiring dedicated auth engineers; upfront cost is offset by reduced maintenance and faster feature delivery."
"auth0/auth0-php 9.5.0 is the current stable target — upgrade off 9.0.0-beta.0.
New capabilities:
Fixes worth prioritizing:
renew() now verifies and validates the returned ID token — previously a refreshed session could be established with weaker validation. Upgrade before relying on silent refresh in production.CookieStore now guards non-string data fields and clears undecryptable cookies instead of leaving poisoned state — improves resilience after key rotation or malformed payloads.Watch-outs:
Recommendation: Standardize on 9.5.0+ for all new auth features, and schedule an upgrade for existing services — the renew() validation fix is a security-relevant change, not just a feature bump."*
How can I help you explore Laravel packages today?