PHPackages                             wxr/content-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. wxr/content-bundle

ActiveSymfony-bundle

wxr/content-bundle
==================

Symfony WXRContentBundle

v2.1.0(13y ago)033MITPHPPHP &gt;=5.3.3

Since Nov 14Pushed 12y ago1 watchersCompare

[ Source](https://github.com/Ascarius/WXRContentBundle)[ Packagist](https://packagist.org/packages/wxr/content-bundle)[ RSS](/packages/wxr-content-bundle/feed)WikiDiscussions master Synced 1w ago

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

WXRContentBundle
================

[](#wxrcontentbundle)

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

[](#installation)

Nothing special.

Configuration
-------------

[](#configuration)

WXRContentBundle doesn't require any configuration.

### Default configuration

[](#default-configuration)

```
wxr_content:
    twig:
        extension:
            render:
                default_template: WXRContentBundle::contents.html.twig
```

Twig extension
--------------

[](#twig-extension)

WXRContentBundle comes with the `wxr_content_render` twig function.

Display contents where "example" is content's name, tag's name or tag's slug:

```
{{ wxr_content_render("example") }}
```

Display content by content's name:

```
{{ wxr_content_render({ name: content_name }) }}
```

Display contents by tag's name:

```
{{ wxr_content_render({ "tag.name": tag_name }) }}
```

Display contents by tag's slug:

```
{{ wxr_content_render({ "tag.slug": tag_slug }) }}
```

Display content or array of contents:

```
{{ wxr_content_render(some_contents) }}
```

Contents will be rendered by the default template (see Configuration). To override default template, pass it as second parameter:

```
{{ wxr_content_render(some_contents, 'WXRContentBundle::raw.html.twig') }}
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

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

4933d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1e7c1ed15cdc16482bcb3dc825e8be1f79224a761f6dc24ff0808ed6211bbeba?d=identicon)[Ascarius](/maintainers/Ascarius)

---

Top Contributors

[![lionelgaillard](https://avatars.githubusercontent.com/u/804873?v=4)](https://github.com/lionelgaillard "lionelgaillard (31 commits)")

---

Tags

contentwxr

### Embed Badge

![Health badge](/badges/wxr-content-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/wxr-content-bundle/health.svg)](https://phpackages.com/packages/wxr-content-bundle)
```

###  Alternatives

[willdurand/negotiation

Content Negotiation tools for PHP provided as a standalone library.

1.4k122.0M157](/packages/willdurand-negotiation)[jorisdugue/h5p-bundle

H5P Bundle for Symfony 5, 6 and Symfony 7

1131.7k](/packages/jorisdugue-h5p-bundle)

PHPackages © 2026

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