PHPackages                             web4people/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. [Security](/categories/security)
4. /
5. web4people/lightsaml

ActiveLibrary[Security](/categories/security)

web4people/lightsaml
====================

SAML 2.0 PHP library

02↓100%

Since Jul 5Compare

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

READMEChangelogDependenciesVersions (1)Used By (0)

About Lite Saml
===============

[](#about-lite-saml)

[![Run tests](https://github.com/WebForPeople/lightsaml/actions/workflows/run_tests.yml/badge.svg)](https://github.com/WebForPeople/lightsaml/actions/workflows/run_tests.yml)[![Latest Stable Version](https://camo.githubusercontent.com/2159884a00ddb2c528a607da280448c036aabd05eaa6220091667582a29ad48c/68747470733a2f2f706f7365722e707567782e6f72672f7765623470656f706c652f6c6967687473616d6c2f762f737461626c65)](https://packagist.org/packages/web4people/lightsaml)

Lite Saml 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.

Version for PHP 8.3

Looking for a higher-level API?
-------------------------------

[](#looking-for-a-higher-level-api)

If you want to integrate SAML without dealing with the low-level data model, use the [web4people/saml](https://github.com/WebForPeople/saml) wrapper — it provides ready-to-use `ServiceProviderWrapper` and `IdentityProviderWrapper` built on top of this package.

Documentation
-------------

[](#documentation)

You can find our Cookbook in [this dedicated website](https://litesaml.github.io/cookbook/).

Contributing
------------

[](#contributing)

Lite Saml is an open source project under [MIT License](https://github.com/litesaml/lightsaml/blob/master/LICENSE.md) and is [open for contributions](https://github.com/litesaml/lightsaml/blob/master/CONTRIBUTING.md).

###  Health Score

10

—

LowBetter than 0% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity11

Early-stage or recently created project

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/602909?v=4)[Ales Seifert](/maintainers/alesak)[@alesak](https://github.com/alesak)

### Embed Badge

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

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

###  Alternatives

[mews/purifier

Laravel 5/6/7/8/9/10 HtmlPurifier Package

2.0k18.7M144](/packages/mews-purifier)[paragonie/ecc

PHP Elliptic Curve Cryptography library

24820.0k40](/packages/paragonie-ecc)

PHPackages © 2026

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