# simplesamlphp/simplesamlphp

SimpleSAMLphp is an application written in native PHP that deals with authentication.

Repository: https://github.com/simplesamlphp/simplesamlphp
Canonical: https://ross.abutalabs.com/products/simplesamlphp
Homepage: https://simplesamlphp.org
Language: PHP
License: LGPL-2.1
License Family: copyleft
Topics: simplesamlphp, php, authentication, saml2, saml
Last push: 2026-08-25T14:46:44+00:00

## Health v2 (maintenance only)
Score: 98/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 96, longevity 100
- inputs: {"age_days": 4572, "days_push": 8, "days_rel": 24, "gap_med": 10.0, "n_releases_24m": 31}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1141, forks 704 (observed 2026-08-28T04:03:44.513566+00:00)

## What it is
SimpleSAMLphp is a native PHP application for handling authentication, primarily as a SAML 2.0 Service Provider and Identity Provider. It also supports other identity protocols such as CAS, OpenID Connect, WS-Federation, and OAuth, and is extensible via modules.

## Use cases
- set up a SAML 2.0 service provider in PHP
- run a SAML identity provider for federated login
- add single sign-on to a PHP application
- integrate with Shibboleth federation
- support CAS or WS-Federation authentication
- act as an OAuth or OpenID Connect provider

## When to choose
- you need SAML 2.0 SP or IdP functionality in a PHP environment
- you must federate with academic or enterprise identity federations like Shibboleth
- you want a self-hosted, mature, widely deployed SSO solution

## When to avoid
- your stack is not PHP and you prefer a language-native SAML library
- you only need simple social login or OAuth client flows with minimal setup
- you want a lightweight library to embed rather than a standalone application

## Facets
- artifact type: application
- maturity: stable
- function: auth, http-server
- domain: security, web-development, backend
- platform: php, self-hosted
- tags: saml2, identity-provider, service-provider, sso, federation, openid-connect, oauth, cas, ws-federation, web-server

## Member repositories
- simplesamlphp/simplesamlphp (main) score 98

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:44.513566+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:35:25.113987+00:00, confidence not recorded.
  - readme: https://github.com/simplesamlphp/simplesamlphp (fetched 2026-08-28T04:03:44.513566+00:00, sha abcd4ca82c2b)
  - homepage: https://simplesamlphp.org (fetched 2026-08-29T12:40:29.550721+00:00, sha 44ada58094d8)
  - site_page: https://simplesamlphp.org/docs (fetched 2026-08-29T12:40:29.559979+00:00, sha 70242edc16d7)
- Data as of 2026-08-30T08:39:29.467469+00:00.
