PHPackages                             webcustoms/enlight-symfony-wrapper - 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. [Framework](/categories/framework)
4. /
5. webcustoms/enlight-symfony-wrapper

ActiveLibrary[Framework](/categories/framework)

webcustoms/enlight-symfony-wrapper
==================================

Allows the use of Symfony 3 controllers within Shopware plugins.

v1.0(7y ago)217MITPHP

Since Dec 13Pushed 7y ago5 watchersCompare

[ Source](https://github.com/WebcustomsIT/EnlightSymfonyWrapper)[ Packagist](https://packagist.org/packages/webcustoms/enlight-symfony-wrapper)[ RSS](/packages/webcustoms-enlight-symfony-wrapper/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (1)Versions (8)Used By (0)

Enlight-Symfony-Wrapper
=======================

[](#enlight-symfony-wrapper)

What does it do?
----------------

[](#what-does-it-do)

It allows you to use the `Route` annotation tags provided by the Symfony framework within your Shopware plugins.

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

[](#installation)

```
composer require webcustoms/enlight-symfony-wrapper
```

Example usage
-------------

[](#example-usage)

See the `example` directory for a working example.

How do I
--------

[](#how-do-i)

### ... implement `CSRFWhitelistAware`?

[](#-implement-csrfwhitelistaware)

Simply implement it in your class definition, and we'll pick it up.

### ... generate URLs to my action?

[](#-generate-urls-to-my-action)

```
$this->container->get('router')->assemble([
    'module' => 'Your\Name\Space', // optional if it's the current one
    'controller' => 'YourClassName', // optional if it's the current one
    'action' => 'yourMethodName'
]);
```

or

```
$this->container->get('router')->assemble([
    // You can also set 'route' directly, either the auto-generated
    // name from Symfony, or the "name" attribute you set manually
    // for your route.
   'route' => 'your_name_space.your_class_name.your_method_name'
]);
```

### ... do something on preDispatch or postDispatch?

[](#-do-something-on-predispatch-or-postdispatch)

By subscribing to KernelEvents as described in the article [How to Set Up Before and After Filters](https://symfony.com/doc/3.4/event_dispatcher/before_after_filters.html) by Symfony.

The following Shopware-like events are notified, in this order:

- `Enlight_Controller_Action_PreDispatch`
- `Enlight_Controller_Action_PreDispatch_Backend` (or `_Api`, `_Frontend`, `_Widgets` depending on the URL)
- `Enlight_Controller_Action_PreDispatch_MyNameSpace\MyController`
- `Enlight_Controller_Action_Backend_WebcustomsEnlightSymfonyWrapperComponentsControllerWrapper_MyMethodName` (which won't be that helpful)
- `PreDispatch_mynamespace_mycontroller_myaction`
- `PreDispatch_MyNameSpace\MyController::MyAction`
- `Dispatch_mynamespace_mycontroller_myaction` (notifyUntil)
- `Dispatch_MyNameSpace\MyController::MyAction` (notifyUntil)
- `PostDispatchSecure_mynamespace_mycontroller_myaction`
- `PostDispatchSecure_MyNameSpace\MyController::MyAction`
- `PostDispatch_mynamespace_mycontroller_myaction`
- `PostDispatch_MyNameSpace\MyController::MyAction`
- `Enlight_Controller_Action_PostDispatchSecure_MyNameSpace\MyController`
- `Enlight_Controller_Action_PostDispatchSecure_Backend` (or `_Api`, `_Frontend`, `_Widgets` depending on the URL)
- `Enlight_Controller_Action_PostDispatchSecure`
- `Enlight_Controller_Action_PostDispatch_MyNameSpace\MyController`
- `Enlight_Controller_Action_PostDispatchS_Backend` (or `_Api`, `_Frontend`, `_Widgets` depending on the URL)
- `Enlight_Controller_Action_PostDispatch`

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity66

Established project with proven stability

 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 ~8 days

Total

7

Last Release

2658d ago

Major Versions

v0.6 → v1.02019-01-30

### Community

Maintainers

![](https://www.gravatar.com/avatar/97b83832158f8bd5299264cf144b3deec416a78d59a2bec57749a34c22f22b19?d=identicon)[EtienneBruines](/maintainers/EtienneBruines)

---

Top Contributors

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

---

Tags

shopware

### Embed Badge

![Health badge](/badges/webcustoms-enlight-symfony-wrapper/health.svg)

```
[![Health](https://phpackages.com/badges/webcustoms-enlight-symfony-wrapper/health.svg)](https://phpackages.com/packages/webcustoms-enlight-symfony-wrapper)
```

###  Alternatives

[laravel/framework

The Laravel Framework.

34.6k509.9M17.0k](/packages/laravel-framework)[symfony/framework-bundle

Provides a tight integration between Symfony components and the Symfony full-stack framework

3.6k235.4M9.7k](/packages/symfony-framework-bundle)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[drupal/core

Drupal is an open source content management platform powering millions of websites and applications.

19462.3M1.3k](/packages/drupal-core)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)

PHPackages © 2026

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