l3/cas-guard-bundle
A PHP package that adds a CAS authentication guard, enabling single sign-on against a CAS server. Integrates centralized CAS login into your application with a configurable guard and minimal setup.
apereo/phpcas, the reference implementation), (2) framework glue (firewall/authenticator integration), and (3) your own tenant/config/onboarding UX. This bundle occupies layer 2 only. It lets you skip layer 2 and spend your engineering budget on layer 3, which is the part that actually differentiates you.Important scoping caveat: despite the framing, this is a Symfony bundle, not a Laravel package. It integrates phpCAS with Symfony's security firewall across Symfony 3–8. If your product is Laravel, you cannot adopt it directly — the reusable asset is the pattern (wrap apereo/phpcas, expose it as a guard/authenticator), not the code. You would either use a Laravel-native CAS integration or write a thin custom guard over phpCAS yourself. Factor that into any estimate that assumed drop-in adoption.
Adopt (or closely mirror) when:
apereo/phpcas for the protocol itself.Look elsewhere / don't adopt when:
l3-team) owns it. If your procurement or security review requires a supported vendor, an SLA, or evidence of broad production use, this won't clear the bar.Diligence checklist before committing: confirm the Symfony 6/7/8 path uses the modern AuthenticatorInterface (not the deprecated guard system), check open issue count and mean time to response, read the actual code size (a thin wrapper is small enough to vendor or fork), and confirm SLO (single logout) behavior — CAS logout is where most integrations quietly break, and it's the detail that generates support tickets.
For executives: A small, actively maintained open-source wrapper that lets us support CAS single sign-on — the login standard used across universities, research institutions, and public-sector systems — without writing a protocol client ourselves. The strategic value is deal enablement: it removes a hard technical blocker in institutional sales conversations at near-zero build cost. The risk is equally small and easy to contain: very low community adoption, a single maintainer, and no vendor support, so we treat it as a thin, replaceable layer we pin and can fork in days rather than a strategic dependency. Investment required is measured in engineering days, not a quarter.
For engineering: This is glue, not a protocol implementation — it wires apereo/phpcas (the reference CAS client, Apache-2.0, heavily used in academia) into the framework's security layer. The surface area is small, which is both the appeal and the mitigation: pin the version, wrap it behind our own auth-provider interface so we're not locked to CAS, and be prepared to vendor or fork if maintenance stalls. Coverage across Symfony 3–8 suggests disciplined maintenance and recent releases, but with 9 stars and zero dependents, assume no community safety net. Verify the modern authenticator path on Symfony 6+ and explicitly test single-logout before we promise it.
For the roadmap record: This is an enabler under an "Enterprise SSO" theme, not a standalone feature. It buys us protocol coverage on the Symfony side only. Budget separately for the parts customers actually experience — tenant configuration, admin UI, provisioning, and audit — and note that a Laravel-based product would require a different integration path despite the shared protocol.
How can I help you explore Laravel packages today?