About SimpleSAMLphp
SimpleSAMLphp is an application written in native PHP that deals with authentication. Its main focus is SAML 2.0, where it can act either as a service provider that protects a web application or as an identity provider that authenticates users, which makes it common in universities and organizations using federated login.
It also supports other identity protocols and frameworks including CAS, OpenID Connect, WS-Federation and OAuth, and it is easy to extend with custom modules. The project site offers downloads, documentation, security announcements, modules and support, and the community-led project publishes regular releases, with security releases announced on its mailing list in advance.
SimpleSAMLphp is licensed under LGPL-2.1 and installed on your own PHP web server, so it is self-hosted. The project is run by a board and community of contributors. It suits developers and identity administrators who need to connect PHP applications to a SAML federation or run a lightweight identity provider.
Key features
- SAML 2.0 service provider
- SAML 2.0 identity provider
- CAS, OpenID Connect, and WS-Federation support
- OAuth support
- Extensible through modules
- Regular releases with security announcements
Good fit for
- →Adding SAML login to a PHP application
- →Running an identity provider for a federation
- →Bridging SAML with other identity protocols
- Built with
- PHP
- Tags
- saml
- authentication
- sso
- php
- identity-provider
- oauth
- openid-connect
- cas
- federation
SimpleSAMLphp: questions and answers
- What is SimpleSAMLphp used for?
- SimpleSAMLphp is a PHP authentication application that acts as a SAML 2.0 service provider or identity provider and supports CAS, OpenID Connect and OAuth. It is a good fit for adding SAML login to a PHP application, running an identity provider for a federation and bridging SAML with other identity protocols.
- Is SimpleSAMLphp open source?
- Yes. SimpleSAMLphp is open source under the LGPL-2.1 licence. Its source code is on GitHub at simplesamlphp/simplesamlphp and is written mainly in PHP.
- Is SimpleSAMLphp free?
- Yes. SimpleSAMLphp is open source, so the software itself is free to use.
- Can I self-host SimpleSAMLphp?
- Yes. SimpleSAMLphp can be self-hosted on your own server or infrastructure; there is no official hosted version.
- What is SimpleSAMLphp an alternative to?
- SimpleSAMLphp is an open-source alternative to OneLogin and Ping Identity. Other open-source alternatives to OneLogin include Apereo CAS, Authentik and Keycloak.
- Is SimpleSAMLphp actively maintained?
- Yes. The most recent commit to SimpleSAMLphp was on 1 October 2026, and the latest release is v2.5.3.1, published on 9 August 2026. The project has 1.1k stars on GitHub.
Open-source alternatives to SimpleSAMLphp
See all
Apereo CAS
Auth & Identity
Apereo CAS - Identity & Single Sign On for all earthlings and beyond.
Apache-2.0vs Ping Identity★ 11k
Authentik
Auth & Identity
The authentication glue you need.
OSSvs Auth0★ 26k
Keycloak
Auth & Identity
Open Source Identity and Access Management For Modern Applications and Services
Apache-2.0vs Auth0★ 37k
OpenAM
Auth & Identity
OpenAM is an open-source access management solution for identity authentication, authoriza
OSSvs Ping Identity★ 897
MaxKey
Auth & Identity
Dromara MaxKey 🗝️ SSO ,Leading-Edge IAM-IDaas(Identity and Access Management) Product , U
Apache-2.0vs OneLogin★ 2k
WSO2 Identity Server
Auth & Identity
Welcome to the WSO2 Identity Server source code! For info on working with the WSO2 Identit
Apache-2.0vs Auth0★ 881
SaaS alternatives to SimpleSAMLphp
See all
OneLogin
Auth & Identity
Cloud single sign-on and MFA for workforce identity, from One Identity
SaaS
Ping Identity
Auth & Identity
Enterprise workforce and customer identity management with SSO and MFA
SaaS
Duo Security
Auth & Identity
Cisco's multi-factor authentication and device trust service for workforces
SaaS
IBM Verify
Auth & Identity
IBM SSO, MFA and identity governance for workforce and customer identities
SaaS
Imprivata
Auth & Identity
Identity and access management for healthcare including single sign-on and MFA
SaaS
JumpCloud
Auth & Identity
Cloud directory for identity, device management and SSO
SaaS

