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

ActiveProject[Utility &amp; Helpers](/categories/utility)

hexacta/lightsaml
=================

Light SAML2 php library

1.0.6(11y ago)09731MITPHPPHP &gt;=5.3.3

Since Dec 4Pushed 11y ago3 watchersCompare

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

READMEChangelog (2)Dependencies (3)Versions (9)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

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 82.4% 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 ~51 days

Recently: every ~26 days

Total

8

Last Release

4190d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5f4f022c22fb73f3167f7676e20d6332fd70f4110dca375ade404ccb4c03b1aa?d=identicon)[dsogoshx](/maintainers/dsogoshx)

---

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)")[![dsogoshx](https://avatars.githubusercontent.com/u/9950552?v=4)](https://github.com/dsogoshx "dsogoshx (1 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/hexacta-lightsaml/health.svg)

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

###  Alternatives

[coenjacobs/mozart

Composes all dependencies as a package inside a WordPress plugin

4723.6M20](/packages/coenjacobs-mozart)[php-soap/wsdl

Deals with WSDLs

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

Phel is a functional programming language that compiles to PHP

4743.5k10](/packages/phel-lang-phel-lang)[symfony/ai-bundle

Integration bundle for Symfony AI components

30282.3k6](/packages/symfony-ai-bundle)[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)
