yraiso/casauth-bundle
A Symfony bundle for integrating CAS single sign-on authentication into your app. It simplifies CAS login and logout, service ticket validation, and authenticated user handling through configurable server settings. Designed to secure routes and streamline CAS-based access control.
Framing correction (blocking): Despite being routed as a "Laravel/PHP package," yraiso/casauth-bundle is a Symfony bundle ("SF 5.4 min version"), almost certainly a maintained fork of the beSimple/CasAuthBundle lineage (the yraiso namespace and repo name CasAuthBundle strongly suggest this). This distinction drives the entire assessment — it is not installable into a Laravel application.
Architecture fit
/login?service=, validate at /serviceValidate or /proxyValidate, XML/attribute parsing), and it is tightly coupled to Symfony's HttpClient/EventDispatcher — extraction is a port, not a drop-in.Integration feasibility
mod_auth_cas, oauth2-proxy) and keeping the app on standard session auth.Technical risk
beSimple) before any dependency decision.symfony/http-client / PSR-18 constraint ranges.Key questions
beSimple/CasAuthBundle look like?Stack fit
cas firewall listener with server login/validation URLs, service URL, and CA bundle, and map returned attributes to a user provider.Migration path
Compatibility
symfony/http-client, psr/http-client, and XML extension constraints before committing.service URL sent to CAS must exactly match what's registered, or validation fails.Sequencing
Maintenance
repositories entry pinned to a commit) so an upstream deletion or abandonment cannot break builds. Keep a documented patch queue.beSimple/CasAuthBundle and the CAS server release notes; regressions here are silent until login breaks.Support
Scaling
Failure modes (design mitigations for each)
X-Forwarded-* handling and register every environment's URL.service or return-path params: restrict allowed return hosts.Ramp-up
Recommendation: Reject for a Laravel stack — the package does not fit and the ecosystem signals (2 stars, 0 dependents, single maintainer, future-dated release) are too weak for authentication code. For an existing Symfony 5.4+ application with a confirmed long-lived CAS IdP, it is viable only with an internal fork, a security review, and a named owner; otherwise prefer IdP-side modernization over adopting this bundle.
How can I help you explore Laravel packages today?