PHPackages                             wolnosciowiec/content-compiler-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. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. wolnosciowiec/content-compiler-bundle

ActiveSymfony-bundle[Parsing &amp; Serialization](/categories/parsing)

wolnosciowiec/content-compiler-bundle
=====================================

Converts everything into HTML

175PHP

Since Jun 3Pushed 9y ago2 watchersCompare

[ Source](https://github.com/Wolnosciowiec/ContentCompilerBundle)[ Packagist](https://packagist.org/packages/wolnosciowiec/content-compiler-bundle)[ RSS](/packages/wolnosciowiec-content-compiler-bundle/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

ContentCompilerBundle
=====================

[](#contentcompilerbundle)

Converts everything to HTML, including conversion from Markdown to HTML.

In short words it's an interface for conversion to HTML with some example implementations made.

```
/*
 * Wolnościowiec / ContentCompilerBundle
 * -------------------------------------
 *
 *   Converts everything to HTML, including conversion from Markdown to HTML.
 *   A part of an anarchist portal - wolnosciowiec.net
 *
 *   Wolnościowiec is a project to integrate the movement
 *   of people who strive to build a society based on
 *   solidarity, freedom, equality with a respect for
 *   individual and cooperation of each other.
 *
 *   We support human rights, animal rights, feminism,
 *   anti-capitalism (taking over the production by workers),
 *   anti-racism, and internationalism. We negate
 *   the political fight and politicians at all.
 *
 *   http://wolnosciowiec.net/
 *
 *   License: LGPLv3
 */
```

Setup
-----

[](#setup)

1. Add to `AppKernel`
2. Use as a service :-)

Example:

```
// twig
var_dump($this->contentCompilerFactory
     ->getContentCompiler('twig')
     ->compileFromString('Monkeys are eating {{ fruitName }}', false, [
         ContentCompilerInterface::VARIABLES => ['fruitName' => 'banana'],
     ])
);

// markdown
var_dump($this->contentCompilerFactory
     ->getContentCompiler('markdown')
     ->compileFromString('# Bananas are everywhere')
);
```

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/9bcf126fe030a49d883299ee4d99f7b9c67ffa348baf329117df9bb850ceccdc?d=identicon)[blackandred](/maintainers/blackandred)

---

Top Contributors

[![blackandred](https://avatars.githubusercontent.com/u/22807686?v=4)](https://github.com/blackandred "blackandred (20 commits)")

---

Tags

bundlemarkdownpurifiersymfonysymfony-bundlewolnosciowiec

### Embed Badge

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

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

###  Alternatives

[mck89/peast

Peast is PHP library that generates AST for JavaScript code

19037.7M41](/packages/mck89-peast)[sauladam/shipment-tracker

Parses tracking information for several carriers, like UPS, USPS, DHL and GLS by simply scraping the data. No need for any kind of API access.

9642.0k](/packages/sauladam-shipment-tracker)[jstewmc/rtf

Read and write Rich Text Format (RTF) documents with PHP

46143.1k6](/packages/jstewmc-rtf)[moonshine/layouts-field

Field for repeating groups of fields for MoonShine

107.9k](/packages/moonshine-layouts-field)[tcds-io/php-jackson

A lightweight, flexible object serializer for PHP, inspired by FasterXML/jackson

112.9k10](/packages/tcds-io-php-jackson)

PHPackages © 2026

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