PHPackages                             jelix/wikirenderer - 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. jelix/wikirenderer

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

jelix/wikirenderer
==================

WikiRenderer is a library to generate HTML or anything else from wiki content.

v3.1.11(2y ago)1612.1k4[6 issues](https://github.com/laurentj/wikirenderer/issues)1LGPL-2.1PHPPHP &gt;=5.6

Since Dec 2Pushed 2y ago3 watchersCompare

[ Source](https://github.com/laurentj/wikirenderer)[ Packagist](https://packagist.org/packages/jelix/wikirenderer)[ Docs](http://wikirenderer.jelix.org)[ RSS](/packages/jelix-wikirenderer/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (9)Used By (1)

WikiRenderer 4 is a library to convert wiki content to an other format like HTML, Docbook, or other wiki syntax.

Warning: the master branch is currently unstable since we rework many things. Go to the 3.x branch to have a stable release. Documentation and the website are not updated yet for WikiRenderer 4.

WikiRenderer 4.0-pre supports these following markups:

- Dokuwiki syntax
- Trac syntax
- WR3 (a markup specific to WikiRenderer 3.0)
- ClassicWR (a markup specific to WikiRenderer 1.0)

And it can generates HTML, Docbook, or cleaned text.

In the final release, support of Markdown markup and Markdown generator are planed.

Install
-------

[](#install)

You can install it from Composer. See [the page on Packagist.org](https://packagist.org/packages/jelix/wikirenderer)

Quick example
-------------

[](#quick-example)

```
// first choose a Markup, by instancying its configuration object
// here we want to parse DokuWiki syntax
$markupConfig = new \WikiRenderer\Markup\DokuWiki\Config();

// then choose a generator, e.g., the object which generates
// the result text in the expected format. Here, HTML...
$genConfig = new \WikiRenderer\Generator\Html\Config();
$generator = new \WikiRenderer\Generator\Html\Document($genConfig);

// now instancy the WikiRenderer engine
$wr = new \WikiRenderer\Renderer($generator, $markupConfig);

// call render() method: it will parse DokuWiki syntax, and will
// generate HTML content
$html = $wr->render($awikitext);
```

Note: this is a new API and it may change until the release of 4.0.

Documentation and website
-------------------------

[](#documentation-and-website)

English and french documentation is on .

The documentation is not up-to-date and talk about WikiRenderer 3 which is not compatible with WikiRenderer 4. Help is welcome to update documentation and the website ;-)

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance13

Infrequent updates — may be unmaintained

Popularity33

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 94.6% 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

Every ~572 days

Recently: every ~723 days

Total

7

Last Release

750d ago

PHP version history (2 changes)4.0.0-beta1PHP &gt;=5.3

v3.1.9PHP &gt;=5.6

### Community

Maintainers

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

---

Top Contributors

[![laurentj](https://avatars.githubusercontent.com/u/336034?v=4)](https://github.com/laurentj "laurentj (313 commits)")[![Amaury](https://avatars.githubusercontent.com/u/692501?v=4)](https://github.com/Amaury "Amaury (15 commits)")[![marmotz](https://avatars.githubusercontent.com/u/932553?v=4)](https://github.com/marmotz "marmotz (3 commits)")

---

Tags

wiki

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/jelix-wikirenderer/health.svg)

```
[![Health](https://phpackages.com/badges/jelix-wikirenderer/health.svg)](https://phpackages.com/packages/jelix-wikirenderer)
```

###  Alternatives

[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9682.1M97](/packages/roots-acorn)[whitecube/nova-flexible-content

Flexible Content &amp; Repeater Fields for Laravel Nova.

8053.0M25](/packages/whitecube-nova-flexible-content)[mopa/bootstrap-bundle

Easy integration of twitters bootstrap into symfony2

7042.9M33](/packages/mopa-bootstrap-bundle)[limenius/react-bundle

Client and Server-side react rendering in a Symfony Bundle

3871.2M](/packages/limenius-react-bundle)[nicmart/string-template

StringTemplate is a very simple string template engine for php. I've written it to have a thing like sprintf, but with named and nested substutions.

2101.7M30](/packages/nicmart-string-template)[symfony/ux-icons

Renders local and remote SVG icons in your Twig templates.

555.8M69](/packages/symfony-ux-icons)

PHPackages © 2026

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