PHPackages                             bravesheep/active-link-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. [Templating &amp; Views](/categories/templating)
4. /
5. bravesheep/active-link-bundle

AbandonedArchivedLibrary[Templating &amp; Views](/categories/templating)

bravesheep/active-link-bundle
=============================

Provides ability in Twig templates to determine if an action is being requested

v0.1.0(11y ago)1401MITPHP

Since Jul 16Pushed 11y ago2 watchersCompare

[ Source](https://github.com/bravesheep/active-link-bundle)[ Packagist](https://packagist.org/packages/bravesheep/active-link-bundle)[ RSS](/packages/bravesheep-active-link-bundle/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (1)Versions (2)Used By (0)

BravesheepActiveLinkBundle
==========================

[](#bravesheepactivelinkbundle)

This bundle provides a few Twig helper functions and filters for checking whether or not a specific part of your controller structure is active.

Note that some limitations apply, specifically this bundle does not work well with subrequests. Instead the bundle always requests the master request.

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

[](#installation)

Using [Composer](https://getcomposer.org/) add the bundle to your requirements:

```
{
    "require": {
        "bravesheep/active-link-bundle": "dev-master"
    }
}
```

Then run `composer update bravesheep/active-link-bundle`. Finally add the bundle in `app/AppKernel.php`:

```
public function registerBundles()
{
    return array(
        // ...
        new Bravesheep\ActiveLinkBundle\BravesheepActiveLinkBundle(),
        // ...
    );
}
```

Available twig functions
------------------------

[](#available-twig-functions)

- `active(location[, params])`
- `active_route(route[, params])`
- `active_bundle(bundle[, params])`
- `active_controller(controller[, params])`
- `active_action(action[, params])`

Available twig filters
----------------------

[](#available-twig-filters)

- `location is active([params])`
- `route is active_route([params])`
- `bundle is active_bundle([params])`
- `controller is active_controller([params])`
- `action is active_action([params])`

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity53

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

Unknown

Total

1

Last Release

4315d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/86a9633404b0317dcde9ecb9c54f88c4d54bc42bb137d462933773bbe3a539b9?d=identicon)[rnijveld](/maintainers/rnijveld)

![](https://www.gravatar.com/avatar/664f27a4241e63b3e2cff68a436e2ef6930c926dd0ae0fb4973bfb969cab1754?d=identicon)[marlon](/maintainers/marlon)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/bravesheep-active-link-bundle/health.svg)

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

###  Alternatives

[simplethings/form-extra-bundle

This bundles provides extra FormType's for Symfony2

10283.6k](/packages/simplethings-form-extra-bundle)[cg/kint-bundle

This bundle lets you use the Kint function in your Twig templates. Kint is a print\_r() replacement which produces a structured, collapsible and escaped output

22125.8k1](/packages/cg-kint-bundle)[aequasi/view-model-bundle

Bundle to add ViewModel capabilities to Symfony2

105.0k](/packages/aequasi-view-model-bundle)[nurikabe/star-rating-bundle

Symfony form type and Twig extension for quick integration of FyneWorks' Star Rating widget

113.1k](/packages/nurikabe-star-rating-bundle)

PHPackages © 2026

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