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

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

lightsaml2/lightsaml
====================

Light SAML 2.0 PHP library

3.0.1(11mo ago)0158.1k↓31%4MITPHPPHP ^8.0

Since Sep 29Pushed 11mo agoCompare

[ Source](https://github.com/lightsaml2/lightSAML)[ Packagist](https://packagist.org/packages/lightsaml2/lightsaml)[ Docs](https://www.lightsaml.com/)[ RSS](/packages/lightsaml2-lightsaml/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependencies (9)Versions (37)Used By (4)

SAML 2.0 PHP Library
====================

[](#saml-20-php-library)

[![GitHub release](https://camo.githubusercontent.com/1e19ca58b733fa7d2e717d8139b69aa2c2bdc4f87133e9e98b575496638324e2/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f6c6967687473616d6c322f6c6967687473616d6c2e737667)](https://github.com/lightsaml2/lightSAML)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Build Status](https://camo.githubusercontent.com/f1a7e203a152149f6c64c8195d45643c5335627b5e5e9089d081db3c24677def/68747470733a2f2f7472617669732d63692e6f72672f6c6967687473616d6c322f6c6967687453414d4c2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/lightSAML/lightSAML)[![Coverage Status](https://camo.githubusercontent.com/7168a3722737312b8ea446756c63eb1c9d536139494948f68fb57d4f1a6da801/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f6c6967687473616d6c322f6c6967687453414d4c2f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/lightsaml2/lightSAML?branch=master)[![Scrutinizer](https://camo.githubusercontent.com/6f29cde7a8e9133fcef766514150899d899e990bf5eec982d092aee1dc6be0bb/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6c6967687473616d6c322f6c6967687453414d4c2f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/lightsaml2/lightSAML/?branch=master)[![Packagist Version](https://camo.githubusercontent.com/a6f20e98351f01b4c0cc0c7b559a11bcf08bb6a0d441ad4deb0f16762c0e6962/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c6967687473616d6c322f6c6967687473616d6c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/lightsaml2/lightsaml)

LightSaml 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.

DOCUMENTATION
=============

[](#documentation)

- [Homepage](http://www.lightsaml.com/LightSAML-Core/)
- [Installation](http://www.lightsaml.com/LightSAML-Core/Installation/)
- [Cookbook](http://www.lightsaml.com/LightSAML-Core/Cookbook/)

CONTRIBUTING
============

[](#contributing)

LightSaml is an open source project and is open for contributions.

###  Health Score

49

—

FairBetter than 94% of packages

Maintenance51

Moderate activity, may be stable

Popularity32

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity80

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 74.6% 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 ~112 days

Recently: every ~282 days

Total

33

Last Release

340d ago

Major Versions

0.1.0 → 1.0.0-beta.12015-10-19

1.4.1 → 2.0.02021-06-10

2.1.0 → 3.0.02024-08-05

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

1.4.1PHP &gt;=5.6

2.0.0PHP ^7.2|^8.0

3.0.0PHP ^8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/3764924?v=4)[Marcel Marnitz](/maintainers/frostieDE)[@frostieDE](https://github.com/frostieDE)

---

Top Contributors

[![tmilos](https://avatars.githubusercontent.com/u/1818373?v=4)](https://github.com/tmilos "tmilos (156 commits)")[![frostieDE](https://avatars.githubusercontent.com/u/3764924?v=4)](https://github.com/frostieDE "frostieDE (27 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)")[![aarnaud](https://avatars.githubusercontent.com/u/4802105?v=4)](https://github.com/aarnaud "aarnaud (1 commits)")[![cedricduffournet](https://avatars.githubusercontent.com/u/8666561?v=4)](https://github.com/cedricduffournet "cedricduffournet (1 commits)")[![INSEAD-asim](https://avatars.githubusercontent.com/u/7233258?v=4)](https://github.com/INSEAD-asim "INSEAD-asim (1 commits)")[![seb2411](https://avatars.githubusercontent.com/u/1470048?v=4)](https://github.com/seb2411 "seb2411 (1 commits)")[![albert-umerov](https://avatars.githubusercontent.com/u/224805892?v=4)](https://github.com/albert-umerov "albert-umerov (1 commits)")

---

Tags

phplibrarySAML 2.0lightSAMLSingle SignOnSingle Logout

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Rector

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[symfony/http-kernel

Provides a structured process for converting a Request into a Response

8.1k869.4M8.8k](/packages/symfony-http-kernel)[litesaml/lightsaml

SAML 2.0 PHP library

1076.3M24](/packages/litesaml-lightsaml)[symfony/security-bundle

Provides a tight integration of the Security component into the Symfony full-stack framework

2.5k185.6M2.4k](/packages/symfony-security-bundle)[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.7k38.9k](/packages/matomo-matomo)[simplesamlphp/simplesamlphp

A PHP implementation of a SAML 2.0 service provider and identity provider.

1.1k13.0M218](/packages/simplesamlphp-simplesamlphp)[flow-php/flow

PHP ETL - Extract Transform Load - Data processing framework

85036.3k](/packages/flow-php-flow)

PHPackages © 2026

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