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

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

forlabs/lightsaml
=================

Fork of Light SAML 2.0 PHP library

2.0.0(6y ago)274.7k4MITPHPPHP &gt;=5.6

Since Sep 29Pushed 6y agoCompare

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

READMEChangelogDependencies (8)Versions (32)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

38

—

LowBetter than 83% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity32

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor1

Top contributor holds 83% 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 ~59 days

Recently: every ~177 days

Total

28

Last Release

2325d ago

Major Versions

0.1.0 → 1.0.0-beta.12015-10-19

1.4.1 → 2.0.02020-02-11

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

1.4.1PHP &gt;=5.6

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/4688628?v=4)[Damien PIQUET](/maintainers/dpiquet)[@dpiquet](https://github.com/dpiquet)

---

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)")[![dpiquet](https://avatars.githubusercontent.com/u/4688628?v=4)](https://github.com/dpiquet "dpiquet (4 commits)")[![frostieDE](https://avatars.githubusercontent.com/u/3764924?v=4)](https://github.com/frostieDE "frostieDE (2 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)")[![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

### Embed Badge

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

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

###  Alternatives

[litesaml/lightsaml

SAML 2.0 PHP library

1066.0M19](/packages/litesaml-lightsaml)[symfony/security-bundle

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

2.5k181.3M2.2k](/packages/symfony-security-bundle)[symfony/http-kernel

Provides a structured process for converting a Request into a Response

8.1k853.6M8.3k](/packages/symfony-http-kernel)[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.5M374](/packages/easycorp-easyadmin-bundle)[symfony/framework-bundle

Provides a tight integration between Symfony components and the Symfony full-stack framework

3.6k246.0M11.1k](/packages/symfony-framework-bundle)[simplesamlphp/simplesamlphp

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

1.1k12.8M211](/packages/simplesamlphp-simplesamlphp)

PHPackages © 2026

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