PHPackages                             kodoyosa/lightsaml - 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. kodoyosa/lightsaml

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

kodoyosa/lightsaml
==================

SAML 2.0 PHP library

v4.1.8(2y ago)06MITPHPPHP &gt;=7.4

Since Sep 29Pushed 2y agoCompare

[ Source](https://github.com/Kodoyosa/lightsaml)[ Packagist](https://packagist.org/packages/kodoyosa/lightsaml)[ RSS](/packages/kodoyosa-lightsaml/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (12)Versions (61)Used By (0)

About Light Saml
================

[](#about-light-saml)

[![Run tests](https://github.com/litesaml/lightsaml/actions/workflows/run_tests.yml/badge.svg)](https://github.com/litesaml/lightsaml/actions/workflows/run_tests.yml)[![Latest Stable Version](https://camo.githubusercontent.com/b9273e66cc197a3a3d7a5e6c162212b18ab088f28c3b0f87bddc9fe885e60a34/68747470733a2f2f706f7365722e707567782e6f72672f6c69746573616d6c2f6c6967687473616d6c2f762f737461626c65)](https://packagist.org/packages/litesaml/lightsaml)

Light Saml Implements basic SAML 2.0 data model classes, serialization/deserialization to/from xml with XML security and certificates support, and message encapsulations to bindings. Covered with unit tests.

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

[](#installation)

You can install it via composer:

```
composer require litesaml/lightsaml
```

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

[](#documentation)

You can find our Cookbook in [this dedicated website](https://docs.litesaml.com).

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

[](#contributing)

Light Saml is an open source project under [MIT License](https://github.com/litesaml/lightsaml/blob/master/LICENSE.md) and is [open for contributions](https://github.com/litesaml/lightsaml/blob/master/CONTRIBUTING.md).

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity77

Established project with proven stability

 Bus Factor1

Top contributor holds 58% 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 ~52 days

Recently: every ~89 days

Total

59

Last Release

857d ago

Major Versions

0.1.0 → 1.0.0-beta.12015-10-19

1.4.1 → 2.0.02021-01-20

2.3.4 → 3.0.02022-05-27

3.0.3 → 4.0.02022-06-23

PHP version history (4 changes)0.1.0PHP &gt;=5.5.1

1.4.1PHP &gt;=5.6

2.0.0PHP &gt;=7.2.5

4.0.0PHP &gt;=7.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/0a55d0c71d5d5dbcb5c5da9d20397bf9284b21e831426d4669401f6a87114a53?d=identicon)[kodoyosa](/maintainers/kodoyosa)

---

Top Contributors

[![tmilos](https://avatars.githubusercontent.com/u/1818373?v=4)](https://github.com/tmilos "tmilos (156 commits)")[![william-suppo](https://avatars.githubusercontent.com/u/6459452?v=4)](https://github.com/william-suppo "william-suppo (52 commits)")[![actions-user](https://avatars.githubusercontent.com/u/65916846?v=4)](https://github.com/actions-user "actions-user (12 commits)")[![EmilyShepherd](https://avatars.githubusercontent.com/u/2132420?v=4)](https://github.com/EmilyShepherd "EmilyShepherd (10 commits)")[![cb8](https://avatars.githubusercontent.com/u/10119913?v=4)](https://github.com/cb8 "cb8 (6 commits)")[![francislavoie](https://avatars.githubusercontent.com/u/2111701?v=4)](https://github.com/francislavoie "francislavoie (5 commits)")[![szepeviktor](https://avatars.githubusercontent.com/u/952007?v=4)](https://github.com/szepeviktor "szepeviktor (3 commits)")[![Kodoyosa](https://avatars.githubusercontent.com/u/6319728?v=4)](https://github.com/Kodoyosa "Kodoyosa (3 commits)")[![maxhelias](https://avatars.githubusercontent.com/u/12966574?v=4)](https://github.com/maxhelias "maxhelias (3 commits)")[![TimWolla](https://avatars.githubusercontent.com/u/209270?v=4)](https://github.com/TimWolla "TimWolla (2 commits)")[![frostieDE](https://avatars.githubusercontent.com/u/3764924?v=4)](https://github.com/frostieDE "frostieDE (2 commits)")[![nztim](https://avatars.githubusercontent.com/u/3453450?v=4)](https://github.com/nztim "nztim (1 commits)")[![seb2411](https://avatars.githubusercontent.com/u/1470048?v=4)](https://github.com/seb2411 "seb2411 (1 commits)")[![theodorejb](https://avatars.githubusercontent.com/u/3053271?v=4)](https://github.com/theodorejb "theodorejb (1 commits)")[![TurtleSmoke](https://avatars.githubusercontent.com/u/46165291?v=4)](https://github.com/TurtleSmoke "TurtleSmoke (1 commits)")[![jspaetzel](https://avatars.githubusercontent.com/u/828108?v=4)](https://github.com/jspaetzel "jspaetzel (1 commits)")[![albert-umerov](https://avatars.githubusercontent.com/u/224805892?v=4)](https://github.com/albert-umerov "albert-umerov (1 commits)")[![alexconrad](https://avatars.githubusercontent.com/u/4181562?v=4)](https://github.com/alexconrad "alexconrad (1 commits)")[![cedricduffournet](https://avatars.githubusercontent.com/u/8666561?v=4)](https://github.com/cedricduffournet "cedricduffournet (1 commits)")[![DeGraciaMathieu](https://avatars.githubusercontent.com/u/11473997?v=4)](https://github.com/DeGraciaMathieu "DeGraciaMathieu (1 commits)")

---

Tags

phplibrarySAML 2.0lightSAMLSingle SignOnSingle Logout

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/kodoyosa-lightsaml/health.svg)

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

###  Alternatives

[litesaml/lightsaml

SAML 2.0 PHP library

1055.5M18](/packages/litesaml-lightsaml)[2amigos/2fa-library

2 Factor Authentication (2FA) library

34367.1k7](/packages/2amigos-2fa-library)[contao-community-alliance/dc-general

Universal data container for Contao

1578.3k86](/packages/contao-community-alliance-dc-general)

PHPackages © 2026

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