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

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

javer/lightsaml
===============

Light SAML 2.0 PHP library

1.9.0(1y ago)0272.2k↓15.4%11MITPHPPHP &gt;=8.1

Since Sep 29Pushed 1y agoCompare

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

READMEChangelog (3)Dependencies (8)Versions (38)Used By (1)

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

48

—

FairBetter than 95% of packages

Maintenance39

Infrequent updates — may be unmaintained

Popularity35

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity84

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 78% 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 ~108 days

Recently: every ~359 days

Total

32

Last Release

515d ago

Major Versions

0.1.0 → 1.0.0-beta.12015-10-19

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

1.4.1PHP &gt;=5.6

1.5.0PHP &gt;=7.1

1.6.0PHP &gt;=7.2.5

1.7.0PHP &gt;=8.0

v1.8.0PHP &gt;=8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/7e4ae642c5f1ad16c9b07e976096123f9ef8d50ee7df05123ed1e7f55b29caa9?d=identicon)[javer](/maintainers/javer)

---

Top Contributors

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

---

Tags

phplibrarySAML 2.0lightSAMLSingle SignOnSingle Logout

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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