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

ActiveLibrary

hkvstore/lightsaml
==================

SAML 2.0 PHP library

v4.0.1(3y ago)0141MITPHPPHP &gt;=7.4

Since Aug 31Pushed 3y agoCompare

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

READMEChangelog (1)Dependencies (11)Versions (2)Used By (0)

 [![LightSAML banner](/art/banner.png)](/art/banner.png)

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://litesaml.github.io).

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

[](#contributing)

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

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 68.7% 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

Unknown

Total

1

Last Release

1352d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6fc3d3f9a4c5f6cba9ff19b64c2e628147bd91a391b81021d94c0908754330af?d=identicon)[hkvstore](/maintainers/hkvstore)

---

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 (34 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)")[![frostieDE](https://avatars.githubusercontent.com/u/3764924?v=4)](https://github.com/frostieDE "frostieDE (2 commits)")[![aarnaud](https://avatars.githubusercontent.com/u/4802105?v=4)](https://github.com/aarnaud "aarnaud (1 commits)")[![INSEAD-asim](https://avatars.githubusercontent.com/u/7233258?v=4)](https://github.com/INSEAD-asim "INSEAD-asim (1 commits)")[![jspaetzel](https://avatars.githubusercontent.com/u/828108?v=4)](https://github.com/jspaetzel "jspaetzel (1 commits)")[![maxhelias](https://avatars.githubusercontent.com/u/12966574?v=4)](https://github.com/maxhelias "maxhelias (1 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)")[![hkvstore](https://avatars.githubusercontent.com/u/16445695?v=4)](https://github.com/hkvstore "hkvstore (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)")[![edvgui](https://avatars.githubusercontent.com/u/20844316?v=4)](https://github.com/edvgui "edvgui (1 commits)")

---

Tags

phplibrarySAML 2.0lightSAMLSingle SignOnSingle Logout

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[litesaml/lightsaml

SAML 2.0 PHP library

1055.5M18](/packages/litesaml-lightsaml)[contao-community-alliance/dc-general

Universal data container for Contao

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

PHP Utility Belt

178.5k8](/packages/kisma-kisma)

PHPackages © 2026

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