PHPackages                             delormejonathan/active-menu-bundle - 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. delormejonathan/active-menu-bundle

ActiveSymfony-bundle[Utility &amp; Helpers](/categories/utility)

delormejonathan/active-menu-bundle
==================================

A Symfony extension to get active class base on current bundle/controller/action

v1.0.17(2y ago)016.3k↓42.9%1MITPHP

Since Nov 25Pushed 2y ago1 watchersCompare

[ Source](https://github.com/delormejonathan/ActiveMenuBundle)[ Packagist](https://packagist.org/packages/delormejonathan/active-menu-bundle)[ Docs](https://github.com/delormejonathan/ActiveMenuBundle)[ RSS](/packages/delormejonathan-active-menu-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (2)Versions (19)Used By (0)

ActiveMenuBundle
================

[](#activemenubundle)

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

[](#installation)

```
composer require delormejonathan/active-menu-bundle

```

```
public function registerBundles()
{
    $bundles = array(
        new DelormeJonathan\ActiveMenuBundle\DelormeJonathanActiveMenuBundle(),
    );
```

Usage in your twig template
---------------------------

[](#usage-in-your-twig-template)

For example, if you have this action `AppBundle\Controller\ElementsController::list`, you can

Get the current bundle name

```
{{ bundle_name() }} # returns App
```

Get the current controller name

```
{{ controller_name() }} # returns Elements
```

Get the current action name

```
{{ action_name() }} # returns list
```

**Controller filter**

It works with both full and short paths

```

```

**Action filter**

```

```

**Combined controller/action filter**

```

```

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity72

Established project with proven stability

 Bus Factor1

Top contributor holds 92.9% 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 ~153 days

Recently: every ~126 days

Total

18

Last Release

859d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b08cb14d549f8088f46747859b9c2e4de7c3e0b4114a2bc429cf0e22c035c3ec?d=identicon)[delormejonathan](/maintainers/delormejonathan)

---

Top Contributors

[![delormejonathan](https://avatars.githubusercontent.com/u/5949870?v=4)](https://github.com/delormejonathan "delormejonathan (26 commits)")[![slappyslap](https://avatars.githubusercontent.com/u/15176255?v=4)](https://github.com/slappyslap "slappyslap (2 commits)")

---

Tags

symfonymenuactivedelormejonathan

### Embed Badge

![Health badge](/badges/delormejonathan-active-menu-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/delormejonathan-active-menu-bundle/health.svg)](https://phpackages.com/packages/delormejonathan-active-menu-bundle)
```

###  Alternatives

[winzou/state-machine-bundle

Bundle for the very lightweight yet powerful PHP state machine

34010.4M15](/packages/winzou-state-machine-bundle)[maba/webpack-bundle

Bundle to Integrate Webpack to Symfony

123268.2k4](/packages/maba-webpack-bundle)[spomky-labs/pwa-bundle

Progressive Web App Manifest Generator Bundle for Symfony.

6144.4k1](/packages/spomky-labs-pwa-bundle)[lexik/data-layer-bundle

Manipulate the Google Tag Manager Data Layer from your Symfony application.

14114.2k](/packages/lexik-data-layer-bundle)[fsi/datagrid-bundle

FSi Datagrid Bundle

1859.8k1](/packages/fsi-datagrid-bundle)

PHPackages © 2026

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