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

3.0.0(yesterday)37331MITPHPPHP ^8.4

Since Apr 19Pushed 2y ago1 watchersCompare

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

READMEChangelog (7)Dependencies (30)Versions (14)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

41

—

FairBetter than 87% of packages

Maintenance55

Moderate activity, may be stable

Popularity21

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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 ~67 days

Recently: every ~1 days

Total

13

Last Release

1d 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

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 (6 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.3M24](/packages/litesaml-lightsaml)[guzzlehttp/psr7

PSR-7 message implementation that also provides common utility methods

8.0k1.1B4.0k](/packages/guzzlehttp-psr7)[flow-php/flow

PHP ETL - Extract Transform Load - Data processing framework

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

The Shopware e-commerce core

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

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.6M574](/packages/shopware-core)

PHPackages © 2026

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