Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Auth0 Symfony

Auth0 Symfony Laravel Package

elvi/auth0-symfony

A maintained fork of auth0/symfony that adds up-to-date fixes and changes while including everything supported by the main package. Integrates Auth0 authentication into Symfony apps with a familiar, compatible setup.

View on GitHub
Deep Wiki
Context7

Symfony SDK for Auth0 Authentication and Management APIs.

Frequently asked questions about Auth0 Symfony
Is elvi/auth0-symfony a Laravel package?
No. elvi/auth0-symfony is a Symfony bundle that integrates Auth0 with Symfony's Security component, dependency injection container, and event system. Laravel does not use Symfony security firewalls, authenticators, or bundle extension registration, so installing this package in a Laravel app is not a supported path. For Laravel, use Auth0's official auth0/login SDK instead.
How do I install elvi/auth0-symfony in a Laravel application?
You should not install it in a Laravel application. The package is designed for Symfony 5, 6, or 7 services and expects Symfony bundle registration plus security firewall configuration that Laravel does not provide. The Laravel-native installation path is composer require auth0/login, followed by Auth0's Laravel configuration. If you need this bundle, run it inside a Symfony service and expose an internal API to Laravel.
What Laravel package should I use instead of elvi/auth0-symfony?
Use auth0/login, Auth0's official Laravel SDK, together with auth0/auth0-php. It provides Laravel guards, middleware, session handling, and configuration that match Laravel's authentication system. elvi/auth0-symfony cannot replace it because it is built around Symfony's security architecture. The official Laravel SDK also receives Auth0's upstream maintenance and security fixes.
What is the difference between elvi/auth0-symfony and auth0/symfony?
elvi/auth0-symfony is a fork of auth0/symfony that adds up-to-date fixes and changes while claiming to include everything supported by the main package. The fork must continuously cherry-pick upstream changes, so its value depends on the size and freshness of its patch set. Treat it as a drop-in candidate only after reviewing the diff against upstream, and prefer patching auth0/symfony internally if the fix can be upstreamed.
Which Symfony and Laravel versions does elvi/auth0-symfony support?
The package targets Symfony 5, 6, and 7 services and is intended for Symfony's Security component and bundle system. It does not support Laravel versions because it is not a Laravel package and does not integrate with Laravel's guard, middleware, or service container conventions. Check the composer.json constraints for exact PHP and Symfony version ranges before adopting it.
How do I configure Auth0 authentication in Symfony with elvi/auth0-symfony?
Register the bundle in your Symfony kernel, configure the Auth0 domain, client ID, client secret, and callback route under config/packages, and wire an Auth0 authenticator into a Symfony security firewall. The bundle uses Symfony's DI extension and event system, so configuration follows the same patterns as auth0/symfony. Store credentials in environment variables and keep the Management API credentials separate from login credentials.
Does elvi/auth0-symfony support Auth0 Management API features like users, organizations, and MFA?
Yes, the package is positioned as a Symfony SDK for both Auth0 authentication and Management API operations. That includes user CRUD, organization management, roles, and MFA enrollment scenarios through Auth0's Management API. In a Laravel architecture, the practical pattern is to run those operations in a Symfony internal service behind an HTTP contract rather than inside the Laravel app.
Is elvi/auth0-symfony safe to use in production for authentication?
Authentication code is security-critical, and this fork has low ecosystem validation: a small star count, zero dependents, and single-organization maintenance. That creates fork risk, version lag risk, and supply-chain risk for token validation, JWKS handling, sessions, and Management API credentials. For production, prefer the official Auth0 SDK for your framework, or pin upstream auth0/symfony and apply the fork's fixes as a reviewed internal patch.
How do I test Auth0 authentication with elvi/auth0-symfony?
Test it like any Symfony security integration: boot the kernel in functional tests, exercise the firewall and authenticator with mocked Auth0 responses, and stub JWKS or token validation so tests do not call Auth0. Unit-test your Management API wrapper separately with an HTTP client mock. For Laravel, test auth0/login through Laravel's HTTP tests and guard assertions instead.
Who maintains elvi/auth0-symfony and how active is the project?
It is maintained by vision-group-ag as a fork of auth0/symfony. The evaluation found low community signal, including a small star count and zero dependents, so commit cadence, response time, and the maintained diff footprint against upstream should be verified before adoption. As a security-adjacent dependency, it needs an accountable maintainer and a clear plan for tracking upstream Auth0 and Symfony releases.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
stevenay/myanfont
gmostafa/php-graphql-client
xeviant/paystack
snowsoft/faker
meditationsteps/blogetc
animalyoung/laravel-influxdb
onix-solutions/sms-telera
lonely-lights/prosetta
oxygen/data
oxygen/core
jengo/base
xiloryx/log-collector
a21ns1g4ts/filament-stripe
la-php/laravel-admin
artisan-build/community-prompts
vleroy/smart
ayles-software/laravel-australian-public-holidays
cboxdk/laravel-id-spatie
cboxdk/laravel-id-billing
cboxdk/laravel-id-billing-bridge