PHPackages                             brille24/sylius-ldap-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. brille24/sylius-ldap-plugin

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

brille24/sylius-ldap-plugin
===========================

Plugin to integrate with LDAP authentication.

2.1.1(2y ago)230.9k6[1 PRs](https://github.com/Brille24/SyliusLdapPlugin/pulls)MITPHPPHP ^8.0CI failing

Since Apr 8Pushed 1y ago2 watchersCompare

[ Source](https://github.com/Brille24/SyliusLdapPlugin)[ Packagist](https://packagist.org/packages/brille24/sylius-ldap-plugin)[ RSS](/packages/brille24-sylius-ldap-plugin/feed)WikiDiscussions master Synced today

READMEChangelog (9)Dependencies (32)Versions (11)Used By (0)

Sylius - LDAP Plugin
====================

[](#sylius---ldap-plugin)

Plugin for integrating Sylius with LDAP.

**When using instead of the Sylius form login, you will not be able to log in with existing users into Sylius.**

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

[](#installation)

Run `composer require brille24/sylius-ldap-plugin` in your project-root.

Configuration
-------------

[](#configuration)

Add this block to the parameters in your env-file and fill out the parameters. Your env file will most probably be `.env.local`. If that file does not exist, copy it from `.env` to `.env.local` and fill in the block of parameters below.

```
###> sylius/ldap-plugin ###
LDAP_HOST='ldap.example.com'
LDAP_POST=389
LDAP_ENCRYPTION='ssl' # 'ssl', 'tls' or 'none'
LDAP_PASSWORD='[YOUR PASSWORD FOR READ-ONLY / LOOKUP-USER HERE]'
LDAP_QUERY_PARAMETER='uid'
LDAP_QUERY_STRING='uid={username}'
LDAP_LOOKUP_DN='cn=lookup-user,dc=example,dc=com'
LDAP_USER_QUERY_DN='dc=example,dc=com'
LDAP_GROUP_QUERY_DN='ou=groups,dc=example,dc=com'
###< sylius/ldap-plugin ###

```

To use this new method of authorizing users change the `form_login` in `config/packages/security.yaml` to `form_login_ldap`. For reference the plugin version of this configuration file is located under `tests/Application/config/packages/security.yaml`.

Origin / Other Sources
----------------------

[](#origin--other-sources)

This plugin is the result of the third sylius hackathon in oldenburg at brille24. It is based on `symfony/ldap`, so any guide for that package may also help you:

- [Ldap component](https://symfony.com/components/Ldap)
- [Authenticating against an LDAP server](https://symfony.com/doc/current/security/ldap.html)

###  Health Score

39

—

LowBetter than 86% of packages

Maintenance32

Infrequent updates — may be unmaintained

Popularity30

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 60.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 ~165 days

Recently: every ~228 days

Total

9

Last Release

902d ago

Major Versions

1.2.0 → 2.0.02023-01-25

PHP version history (3 changes)1.0.0PHP ^7.2

1.2.0PHP ^7.4 || ^8.0

2.0.0PHP ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/64c07f8e28dafc37f7cdd920a3a87e0e45fa8c04486c828b3528cc5548b7567f?d=identicon)[brille24](/maintainers/brille24)

---

Top Contributors

[![mamazu](https://avatars.githubusercontent.com/u/14860264?v=4)](https://github.com/mamazu "mamazu (29 commits)")[![JakobTolkemit](https://avatars.githubusercontent.com/u/30623938?v=4)](https://github.com/JakobTolkemit "JakobTolkemit (8 commits)")[![addiks](https://avatars.githubusercontent.com/u/3450330?v=4)](https://github.com/addiks "addiks (7 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (4 commits)")

---

Tags

ldapldap-authenticationsyliussylius-pluginsymfonysyliussylius-plugin

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Psalm

Type Coverage Yes

### Embed Badge

![Health badge](/badges/brille24-sylius-ldap-plugin/health.svg)

```
[![Health](https://phpackages.com/badges/brille24-sylius-ldap-plugin/health.svg)](https://phpackages.com/packages/brille24-sylius-ldap-plugin)
```

###  Alternatives

[dedi/sylius-seo-plugin

Sylius SEO plugin by Dedi.

28138.9k](/packages/dedi-sylius-seo-plugin)[tilleuls/sylius-click-n-collect-plugin

Click and Collect plugin for Sylius, to sell and deliver securely during the COVID-19 pandemic.

7814.2k](/packages/tilleuls-sylius-click-n-collect-plugin)[odiseoteam/sylius-report-plugin

Plugin for Sylius to make customizable reports.

3275.4k](/packages/odiseoteam-sylius-report-plugin)

PHPackages © 2026

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