nti/keycloak-security-bundle
nti/keycloak-security-bundle integrates Keycloak authentication with Symfony applications, helping configure login, token handling, and access control for services protected by Keycloak.
...SecurityBundle, NTI's IDCIKeycloakSecurityBundle). For a Laravel codebase this is not a drop-in dependency; the real decision is either "adopt Symfony for this service," "use a Laravel-native OIDC client," or "port the logic." That decision should be made deliberately, not by a developer who saw a package name.Consider it when all of the following hold:
ROLE_* mapping, logout. These are well-trodden paths and are exactly what such bundles compress.Look elsewhere when:
One-liner for executives: A small open-source adapter that lets a Symfony app delegate login and role checks to Keycloak — v2.0.0 re-targets it at Keycloak 24, which keeps it viable but also confirms it lags the IdP's release cadence; it shortens the path to "we support enterprise SSO," but it remains a low-adoption, GPL-licensed component we should pilot and potentially fork rather than standardize on.
For engineering leadership:
How can I help you explore Laravel packages today?