PHPackages                             jadu/twig-array-extension - 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. jadu/twig-array-extension

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

jadu/twig-array-extension
=========================

Provides Twig extensions to retrive or exclude specific keys/value pairs from an array

1.0.0(2y ago)0371MITPHP

Since Sep 19Pushed 2y ago6 watchersCompare

[ Source](https://github.com/jadu/twig-array-extension)[ Packagist](https://packagist.org/packages/jadu/twig-array-extension)[ RSS](/packages/jadu-twig-array-extension/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (1)

Array Twig Extension
====================

[](#array-twig-extension)

Filters to work with arrays prior to markup output, allowing you to exclude known keys, or only return specified keys. The filters are designed to be very permissive and won't throw any warnings or errors if the supplied keys do not exist.

Typically used in conjunction with Pulsar's attribute parser extension.

Exclude from Array
------------------

[](#exclude-from-array)

Returns a filtered array with the specified keys removed.

Multiple items can be provided, space separated.

```
arrayToModify|exclude('itemToExclude')
```

Only from Array
---------------

[](#only-from-array)

Returns only the items present in the filter list based on a case insensitive search

Multiple items can be provided, space separated.

```
arrayToModify|only('itemToInclude')
```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity43

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

965d ago

### Community

Maintainers

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

---

Top Contributors

[![Stanton](https://avatars.githubusercontent.com/u/18653?v=4)](https://github.com/Stanton "Stanton (9 commits)")

### Embed Badge

![Health badge](/badges/jadu-twig-array-extension/health.svg)

```
[![Health](https://phpackages.com/badges/jadu-twig-array-extension/health.svg)](https://phpackages.com/packages/jadu-twig-array-extension)
```

###  Alternatives

[stfalcon/tinymce-bundle

This Bundle integrates TinyMCE WYSIWYG editor into a Symfony2 project.

2692.9M24](/packages/stfalcon-tinymce-bundle)[codefog/contao-haste

haste extension for Contao Open Source CMS

42650.8k139](/packages/codefog-contao-haste)[spomky-labs/pwa-bundle

Progressive Web App Manifest Generator Bundle for Symfony.

6144.4k1](/packages/spomky-labs-pwa-bundle)[netgen/content-browser

Netgen Content Browser is a Symfony bundle that provides an interface which selects items from any kind of backend and returns the IDs of selected items back to the calling code.

14112.1k8](/packages/netgen-content-browser)[leapt/core-bundle

Symfony LeaptCoreBundle

2529.1k4](/packages/leapt-core-bundle)

PHPackages © 2026

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