PHPackages                             aerialship/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. [Utility &amp; Helpers](/categories/utility)
4. /
5. aerialship/lightsaml

Abandoned → [lightsaml/lightsaml](/?search=lightsaml%2Flightsaml)Library[Utility &amp; Helpers](/categories/utility)

aerialship/lightsaml
====================

Light SAML2 php library

1.0.5(11y ago)40146.6k251MITPHPPHP &gt;=5.3.3

Since Dec 4Pushed 10y ago9 watchersCompare

[ Source](https://github.com/aerialship/lightsaml)[ Packagist](https://packagist.org/packages/aerialship/lightsaml)[ RSS](/packages/aerialship-lightsaml/feed)WikiDiscussions master Synced today

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

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

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

NEW VERSION
-----------

[](#new-version)

**New version of this library is in own organization: [lightsaml/lightsaml](https://github.com/lightsaml/lightsaml)**. Details can be found at [LightSAML website](http://www.lightsaml.com/LightSAML-Core/).

[![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)[![Code Coverage](https://camo.githubusercontent.com/72d1d5149bfd64e8fcb4222cff51a4269d7abe966db9e8f6b8ff196323515f49/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f61657269616c736869702f6c6967687473616d6c2f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/aerialship/lightsaml/?branch=master)[![HHVM Status](https://camo.githubusercontent.com/a281d91d108213946217135e49f5f657e6c7fd7c1a6ad5921d65ad5796bc8d7c/687474703a2f2f6868766d2e683463632e64652f62616467652f61657269616c736869702f6c6967687473616d6c2e737667)](http://hhvm.h4cc.de/package/aerialship/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.

- [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

40

—

FairBetter than 86% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity41

Moderate usage in the ecosystem

Community25

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 78.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 ~75 days

Recently: every ~51 days

Total

6

Last Release

4218d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/5762640?v=4)[aerialship](/maintainers/aerialship)[@aerialship](https://github.com/aerialship)

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[friendsoftypo3/content-blocks

TYPO3 CMS Content Blocks - Content Types API | Define reusable components via YAML

103519.9k53](/packages/friendsoftypo3-content-blocks)[phel-lang/phel-lang

Phel is a functional programming language that compiles to PHP

5186.0k18](/packages/phel-lang-phel-lang)[dagger/dagger

Dagger PHP SDK

261.1k](/packages/dagger-dagger)

PHPackages © 2026

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