PHPackages                             gl-events/sylius-admin-saml-plugin - 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. gl-events/sylius-admin-saml-plugin

ActiveSylius-plugin[Authentication &amp; Authorization](/categories/authentication)

gl-events/sylius-admin-saml-plugin
==================================

SAML auth SSO plugin for Sylius.

1.0.9(5mo ago)52.7k↓33.3%[4 PRs](https://github.com/GL-EVENTS/SyliusAdminSamlPlugin/pulls)MITPHPPHP ^8.1CI passing

Since Nov 28Pushed 5mo agoCompare

[ Source](https://github.com/GL-EVENTS/SyliusAdminSamlPlugin)[ Packagist](https://packagist.org/packages/gl-events/sylius-admin-saml-plugin)[ RSS](/packages/gl-events-sylius-admin-saml-plugin/feed)WikiDiscussions 1.x Synced 1mo ago

READMEChangelog (10)Dependencies (32)Versions (15)Used By (0)

GL events SyliusAdminSamlPlugin
===============================

[](#gl-events-syliusadminsamlplugin)

Features
--------

[](#features)

This plugin allow your admin users to sign in with SAML providers (Google, Azure, Okta, etc.)

 [![Form admin login](docs/login.png)](docs/login.png)

Installation
------------

[](#installation)

1. Add the bundle to your `composer.json` file:

```
   composer require gl-events/sylius-admin-saml-plugin
   composer require onelogin/php-saml
```

2. Write your Identity Provider informations in your `.env` file:

```
   SAML_IDP_ENTITY_ID=
   SAML_IDP_SSO_URL=
   SAML_IDP_SLO_URL=
   SAML_IDP_CERTIFICATE=
   SAML_IDENTIFIER_KEY=
```

3. Add your SP private key in your `.env` file (you can generate one at your project root with `openssl genpkey -algorithm RSA -out private.key`):

```
   SAML_SP_PRIVATE_KEY=
```

4. Enable or not the traditionnal sylius admin form login in your `.env` file:

```
   SYLIUS_ADMIN_LOGIN=
```

5. Add the plugin class to your `config/bundles.php` file:

```
    return [
        ...
        GlEvents\SyliusAdminSamlPlugin\GlEventsSyliusAdminSamlPlugin::class => ['all' => true],
    ];
```

6. Add default config

```
# config/packages/gl_events_saml_admin_plugin.yaml

imports:
    - { resource: "@GlEventsSyliusAdminSamlPlugin/Resources/config/config.yaml" }

```

7. Add in your `config/security.yaml` file:

```
        providers:
            saml_provider:
              id: gl_events.saml_plugin.provider.saml_user
        firewalls:
              saml:
                    pattern: ^/saml
                    stateless: true
                    custom_authenticator: gl_events.saml_plugin.security.saml_authenticator
              main:
                    lazy: true
                    provider: saml_provider
        access_control:
              - { path: "%sylius.security.admin_regex%/saml", role: ROLE_SUPER_ADMIN }
              - { path: "%sylius.security.admin_regex%/login/saml", role: PUBLIC_ACCESS }
              - { path: "%sylius.security.admin_regex%/login/saml/logout", role: PUBLIC_ACCESS }
              - { path: "%sylius.security.admin_regex%/login/saml/acs", role: PUBLIC_ACCESS }
              - { path: "%sylius.security.admin_regex%/login/saml/sls", role: PUBLIC_ACCESS }
              - { path: "%sylius.security.admin_regex%/login/saml/metadata", role: PUBLIC_ACCESS }
```

8. Add in your `config/routes.yaml` file:

```
   glevents_sylius_admin_saml_plugin:
        resource: "@GlEventsSyliusAdminSamlPlugin/Resources/config/routing.yml"
```

9. Verify your trusted\_headers &amp; trusted\_proxies, see:
10. You are now ready to go ! 🚀

Credits
-------

[](#credits)

Developed by [GL Events](https://gl-events.com/).

###  Health Score

43

—

FairBetter than 91% of packages

Maintenance73

Regular maintenance activity

Popularity26

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~82 days

Total

11

Last Release

153d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/49161697?v=4)[Arthur\_ELS](/maintainers/arthurels69)[@arthurels69](https://github.com/arthurels69)

---

Top Contributors

[![arthurels69](https://avatars.githubusercontent.com/u/49161697?v=4)](https://github.com/arthurels69 "arthurels69 (4 commits)")

---

Tags

syliusSSOsamlsylius-plugin

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/gl-events-sylius-admin-saml-plugin/health.svg)

```
[![Health](https://phpackages.com/badges/gl-events-sylius-admin-saml-plugin/health.svg)](https://phpackages.com/packages/gl-events-sylius-admin-saml-plugin)
```

###  Alternatives

[onelogin/php-saml

PHP SAML Toolkit

1.3k44.0M107](/packages/onelogin-php-saml)[hslavich/oneloginsaml-bundle

OneLogin SAML Bundle for Symfony

1482.5M1](/packages/hslavich-oneloginsaml-bundle)[codegreencreative/laravel-samlidp

Make your PHP Laravel application an Identification Provider using SAML 2.0. This package allows you to implement your own Identification Provider (idP) using the SAML 2.0 standard to be used with supporting SAML 2.0 Service Providers (SP).

263763.5k1](/packages/codegreencreative-laravel-samlidp)[humanmade/wp-simple-saml

WordPress Simple SAML plugin

124284.7k2](/packages/humanmade-wp-simple-saml)[nbgrp/onelogin-saml-bundle

OneLogin SAML Symfony Bundle

551.2M](/packages/nbgrp-onelogin-saml-bundle)[scaler-tech/laravel-saml2

SAML2 Service Provider integration for Laravel applications, based on OneLogin toolkit

2737.5k](/packages/scaler-tech-laravel-saml2)

PHPackages © 2026

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