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

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

mlightsaml/lightsaml
====================

Light SAML 2.0 PHP library

1.4.1(7y ago)03.4kMITPHPPHP &gt;=5.6

Since Sep 29Pushed 5y agoCompare

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

READMEChangelogDependencies (8)Versions (31)Used By (0)

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

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

[![GitHub release](https://camo.githubusercontent.com/321749ce6ec79e191f527eae371e6504e43519259e0c0b829b380f965aa2b980/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f6c6967687473616d6c2f6c6967687473616d6c2e737667)](https://github.com/lightSAML/lightSAML)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Build Status](https://camo.githubusercontent.com/48f8255fc08bfffa28c941c78235ee738974ea08f639cb3ba2555fe4b9cfa8ce/68747470733a2f2f7472617669732d63692e6f72672f6c6967687453414d4c2f6c6967687453414d4c2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/lightSAML/lightSAML)[![Coverage Status](https://camo.githubusercontent.com/c30bb26f641a1405a02da3d2bf613e94b5d32899f97e60f47c2fb0e6c12d2f1c/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f6c6967687453414d4c2f6c6967687453414d4c2f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/lightSAML/lightSAML?branch=master)[![Scrutinizer](https://camo.githubusercontent.com/928bc5fc9feef56fded4618759c0f9a4a668e79757ddbcc9bcfaffc581db254a/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6c6967687453414d4c2f6c6967687453414d4c2f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/lightSAML/lightSAML/?branch=master)[![Packagist Version](https://camo.githubusercontent.com/092479dd68dfadd353d653280c25d64955321f31dcda43d99d8b935472b53749/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c6967687473616d6c2f6c6967687473616d6c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/lightsaml/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

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor1

Top contributor holds 81.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

Every ~37 days

Total

27

Last Release

2911d ago

Major Versions

0.1.0 → 1.0.0-beta.12015-10-19

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

1.4.1PHP &gt;=5.6

### Community

Maintainers

![](https://www.gravatar.com/avatar/287fc9709e0c101715c3d4e8cf008a604b0f6220105c0c9fb713f2fbf58260b7?d=identicon)[DiegoCardosoSenaiSC](/maintainers/DiegoCardosoSenaiSC)

---

Top Contributors

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

---

Tags

phplibrarySAML 2.0lightSAMLSingle SignOnSingle Logout

###  Code Quality

TestsPHPUnit

### Embed Badge

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

```
[![Health](https://phpackages.com/badges/mlightsaml-lightsaml/health.svg)](https://phpackages.com/packages/mlightsaml-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)

PHPackages © 2026

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