PHPackages                             litesaml/saml - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. litesaml/saml

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

litesaml/saml
=============

SAML 2.0 PHP library

4.0.0(1mo ago)39443MITPHPPHP ^8.4CI passing

Since Apr 19Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/litesaml/saml)[ Packagist](https://packagist.org/packages/litesaml/saml)[ RSS](/packages/litesaml-saml/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (9)Dependencies (38)Versions (16)Used By (0)

About Lite Saml
===============

[](#about-lite-saml)

[![Run tests](https://github.com/litesaml/saml/actions/workflows/run_tests.yml/badge.svg)](https://github.com/litesaml/saml/actions/workflows/run_tests.yml)[![Run quality checks](https://github.com/litesaml/saml/actions/workflows/run_quality_checks.yml/badge.svg)](https://github.com/litesaml/saml/actions/workflows/run_quality_checks.yml)[![Latest Stable Version](https://camo.githubusercontent.com/80f704ac9935f116a4138ae9bf6bae904f0814a256397d8216faa2767356f825/68747470733a2f2f706f7365722e707567782e6f72672f6c69746573616d6c2f73616d6c2f762f737461626c65)](https://packagist.org/packages/litesaml/saml)

High-level SAML 2.0 PHP library built on top of [litesaml/lightsaml](https://github.com/litesaml/lightsaml).

Provides `ServiceProviderWrapper` and `IdentityProviderWrapper` to handle common SAML flows — authentication requests and responses, logout, and signature validation — using PSR-7 HTTP interfaces.

Installation
------------

[](#installation)

```
composer require litesaml/saml
```

Documentation
-------------

[](#documentation)

Contributing
------------

[](#contributing)

Litesaml Saml is an open source project under [MIT License](LICENSE.md) and is [open for contributions](CONTRIBUTING.md).

###  Health Score

52

—

FairBetter than 96% of packages

Maintenance91

Actively maintained with recent releases

Popularity24

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 97.8% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~57 days

Recently: every ~2 days

Total

15

Last Release

42d ago

Major Versions

0.5.0 → v1.0.02026-06-27

1.0.1 → 2.0.02026-06-28

2.1.0 → 3.0.02026-07-02

3.0.1 → 4.0.02026-07-07

PHP version history (2 changes)0.1.0PHP ^8.2

0.4.0PHP ^8.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/d65323c79234220d55e60e176f917e1c1db9b90215702e3e11f8b692977285b8?d=identicon)[Willi@m](/maintainers/Willi@m)

---

Top Contributors

[![william-suppo](https://avatars.githubusercontent.com/u/6459452?v=4)](https://github.com/william-suppo "william-suppo (45 commits)")[![theodorejb](https://avatars.githubusercontent.com/u/3053271?v=4)](https://github.com/theodorejb "theodorejb (1 commits)")

---

Tags

phplibrarySAML 2.0lightSAMLSingle SignOnSingle Logout

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/litesaml-saml/health.svg)

```
[![Health](https://phpackages.com/badges/litesaml-saml/health.svg)](https://phpackages.com/packages/litesaml-saml)
```

###  Alternatives

[litesaml/lightsaml

SAML 2.0 PHP library

1076.6M27](/packages/litesaml-lightsaml)[flow-php/flow

PHP ETL - Extract Transform Load - Data processing framework

86337.5k](/packages/flow-php-flow)[shopware/platform

The Shopware e-commerce core

3.4k1.5M3](/packages/shopware-platform)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.8M674](/packages/shopware-core)[typo3/cms

TYPO3 CMS is a free open source Content Management Framework initially created by Kasper Skaarhoj and licensed under GNU/GPL.

1.2k1.9M122](/packages/typo3-cms)[tempest/framework

The PHP framework that gets out of your way.

2.3k37.6k21](/packages/tempest-framework)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
