PHPackages                             mapado/twig-extensions-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. mapado/twig-extensions-bundle

ActiveSymfony-bundle[Templating &amp; Views](/categories/templating)

mapado/twig-extensions-bundle
=============================

Provides some Twig extensions for your project.

v1.0.0(11y ago)020.4k1MITPHPPHP &gt;=5.3.0

Since Sep 18Pushed 2y ago11 watchersCompare

[ Source](https://github.com/mapado/TwigExtensionsBundle)[ Packagist](https://packagist.org/packages/mapado/twig-extensions-bundle)[ RSS](/packages/mapado-twig-extensions-bundle/feed)WikiDiscussions main Synced 1w ago

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

Mapado TwigExtensions Bundle
============================

[](#mapado-twigextensions-bundle)

MapadoTwigExtensionsBundle is just a collection of useful Twig extensions.

This bundle should be used in conjunction with Symfony2.

### ParseUrl Filter

[](#parseurl-filter)

Provides an `parse_url` filter, to parse an url.

A call to [parse\_url](http://php.net/manual/en/function.parse-url.php) is made.

```
{{ someUrl | parse_url('host') }}

```

Will return the host of `someUrl` (or `false` if not found).

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

[](#installation)

### Get the bundle

[](#get-the-bundle)

Add this in your composer.json

```
{
	"require": {
		"mapado/twig-extensions-bundle": "dev-master"
	}
}
```

and then run

```
php composer.phar update
```

or

```
composer update
```

if you installed composer globally.

### Enable the bundle

[](#enable-the-bundle)

```
// in app/AppKernel.php
public function registerBundles() {
	$bundles = array(
		// ...
		new Mapado\TwigExtensionsBundle\MapadoTwigExtensionsBundle(),
	);
	// ...
}
```

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity58

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

4282d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3277986d0e1f93c7e8a58fdaf1b52e3f5a1588e73dfa298d33aafb1ebbde5ef2?d=identicon)[jdeniau](/maintainers/jdeniau)

![](https://www.gravatar.com/avatar/90d135128b469dc38fcf186ac78d0f2cd82fc696ffcf5be8a8c486b7bd911ff6?d=identicon)[mapado](/maintainers/mapado)

---

Top Contributors

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

---

Tags

symfonytwigtwig extensionsmapado

### Embed Badge

![Health badge](/badges/mapado-twig-extensions-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/mapado-twig-extensions-bundle/health.svg)](https://phpackages.com/packages/mapado-twig-extensions-bundle)
```

###  Alternatives

[symfony/ux-twig-component

Twig components for Symfony

21917.2M298](/packages/symfony-ux-twig-component)[symfony/ux-live-component

Live components for Symfony

1636.5M111](/packages/symfony-ux-live-component)[tales-from-a-dev/twig-tailwind-extra

A Twig extension for Tailwind

35982.8k12](/packages/tales-from-a-dev-twig-tailwind-extra)[yellowskies/qr-code-bundle

Symfony Barcode &amp; QR Code Generator Bundle with Twig extension

36701.5k](/packages/yellowskies-qr-code-bundle)[mati365/ckeditor5-symfony

CKEditor 5 integration for Symfony

261.9k](/packages/mati365-ckeditor5-symfony)[symfony/ux-toolkit

A tool to easily create a design system in your Symfony app with customizable, well-crafted Twig components

1482.8k1](/packages/symfony-ux-toolkit)

PHPackages © 2026

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