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

ActiveProject

pmaglione/lightsaml
===================

Light SAML2 php library

1.0.9(11y ago)0541MITPHPPHP &gt;=5.3.3

Since Dec 4Pushed 11y ago1 watchersCompare

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

READMEChangelog (5)Dependencies (3)Versions (11)Used By (1)

SAML 2.0 PHP Component
======================

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

[![Stories in Ready](https://camo.githubusercontent.com/162d0a917e1d7a1252978dda6fe5e8c783c6aa8f613aa0732dc992e303ec5300/68747470733a2f2f62616467652e776166666c652e696f2f61657269616c736869702f6c6967687473616d6c2e706e673f6c6162656c3d7265616479267469746c653d5265616479)](https://waffle.io/aerialship/lightsaml)[![Build Status](https://camo.githubusercontent.com/0500f2ad6b198d19aec8a44e9762d8b7631bf93080acfa61ffbc1a7672107129/68747470733a2f2f7472617669732d63692e6f72672f61657269616c736869702f6c6967687473616d6c2e737667)](https://travis-ci.org/aerialship/lightsaml)[![Scrutinizer Quality Score](https://camo.githubusercontent.com/5de426d551c30743eaa5b6421c8bbd28509ffd206688ace86d1d3a6b9a612b5d/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f61657269616c736869702f6c6967687473616d6c2f6261646765732f7175616c6974792d73636f72652e706e673f733d62633664633935316237656336376532333639396666323861333563636439386266393734313562)](https://scrutinizer-ci.com/g/aerialship/lightsaml/)[![Sensio Insight](https://camo.githubusercontent.com/f44ad4fe3ec0b272ae17bed4b4088a127e6aca560559539a5364c6c537f69aeb/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f61353533376365302d613531332d346433642d626137612d3231653931313566346338392f736d616c6c2e706e67)](https://insight.sensiolabs.com/projects/a5537ce0-a513-4d3d-ba7a-21e9115f4c89)

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.

- [PHP SAML Symfony2 Bundle](https://github.com/aerialship/SamlSPBundle)

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

[](#documentation)

- [Usage](doc/index.md)
- [Console](doc/console.md)
- [Signing and Certificates](doc/signing_and_certificates.md)

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

[](#contributing)

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

CREDIT
======

[](#credit)

Thanks to all contributors and specially to SimpleSamlPHP open source which though hardly reusable helped us in start to understand better how SAML works and speed up the implementation.

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 83.2% 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 ~38 days

Recently: every ~0 days

Total

10

Last Release

4197d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/c4a639a904ad14c75f11a19691269f884590bdfb36a53bdaf227696a1e6893ca?d=identicon)[pmaglione](/maintainers/pmaglione)

---

Top Contributors

[![tmilos](https://avatars.githubusercontent.com/u/1818373?v=4)](https://github.com/tmilos "tmilos (84 commits)")[![i3or1s](https://avatars.githubusercontent.com/u/1193882?v=4)](https://github.com/i3or1s "i3or1s (12 commits)")[![tyomo4ka](https://avatars.githubusercontent.com/u/510194?v=4)](https://github.com/tyomo4ka "tyomo4ka (2 commits)")[![AlbertBrand](https://avatars.githubusercontent.com/u/982975?v=4)](https://github.com/AlbertBrand "AlbertBrand (1 commits)")[![alexkolakov](https://avatars.githubusercontent.com/u/4527112?v=4)](https://github.com/alexkolakov "alexkolakov (1 commits)")[![waffle-iron](https://avatars.githubusercontent.com/u/6912981?v=4)](https://github.com/waffle-iron "waffle-iron (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[phan/phan

A static analyzer for PHP

5.6k11.2M1.1k](/packages/phan-phan)[illuminate/console

The Illuminate Console package.

12944.1M5.1k](/packages/illuminate-console)[php-soap/wsdl

Deals with WSDLs

173.5M12](/packages/php-soap-wsdl)[php-soap/wsdl-reader

A WSDL reader in PHP

212.3M9](/packages/php-soap-wsdl-reader)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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