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

ActiveJelix-module[Templating &amp; Views](/categories/templating)

jelix/wikirenderer-plugin
=========================

a plugin for Jelix or Castor to render wiki content in a template

v1.7.4(2y ago)02.9k1LGPL-2.1PHP

Since Jun 6Pushed 11mo ago1 watchersCompare

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

READMEChangelogDependencies (1)Versions (7)Used By (1)

This is a plugin for jTpl or Castor, the template engine used by Jelix.

This plugin allows to render wiki content in a template. It uses the class jWiki (see lib/), based on the library [WikiRenderer](http://wikirenderer.jelix.org).

This plugin is for Jelix 1.7.x and higher. See the jelix/jelix repository to see its history before Jelix 1.7.

installation
------------

[](#installation)

Install it by hands like any other Jelix plugins, or use Composer if you installed Jelix 1.7+ with Composer.

In your project:

```
composer require "jelix/wikirenderer-plugin"

```

Usage in a template
-------------------

[](#usage-in-a-template)

```

    {$mywikicontent|wiki}

```

jWiki Usage
-----------

[](#jwiki-usage)

jWiki is a class transforming wiki text to other formats. XHTML for example. This class inherits from [Wikirenderer](http://wikirenderer.jelix.org) version 3.1.

In order to transform, Wikirenderer needs some precise objects, which grouped together become the //transform rules//.

There are a bunch of //transform rules// already bundled by WikiRenderer. For instance, wr3\_to\_xhtml allows to transform wiki (wr3 syntax) into XHTML. It is also possible to transform dokuwiki code into XHTML, or mediawiki into docbook. All combinations are possible. you only need to give or develop the good set of transform rules.

To use jWiki, just instantiate it with a //transform rules// name. If you want to transform wiki wr3 into XHTML, just do:

```
   $wr = new jWiki('wr3_to_xhtml');
   $xhtml = $wr->render($wiki_text);
```

You can add your own set in `your_app/plugins/wr_rules/`. Note: remember to activate `app:plugins` repository in your configuration, if you intend to do so.

If you store your own //transform rules// into `your_app/plugins/wr_rules/`, each //transform rules// should be in its own directory, like any jelix plugins. So, if you have a "superwiki\_to\_xhtml" rule, you have to store its source code into the file `your_app/plugins/wr_rules/superwiki_to_xhtml/superwiki_to_xhtml.rule.php`.

In this file you should have a class `superwiki_to_xhtml` inheriting from `WikiRendererConfig` or the class of another rule.

For more information, browse the [Wikirenderer Documentation](https://wikirenderer.jelix.org).

###  Health Score

37

—

LowBetter than 81% of packages

Maintenance38

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity67

Established project with proven stability

 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

Every ~812 days

Total

5

Last Release

796d ago

### 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 (9 commits)")

---

Tags

wikijelixcastorjtpl

### Embed Badge

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

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

###  Alternatives

[limenius/react-bundle

Client and Server-side react rendering in a Symfony Bundle

3851.2M](/packages/limenius-react-bundle)[mediawiki/vector-skin

Modern version of the MonoBook skin

543.5k](/packages/mediawiki-vector-skin)[jelix/wikirenderer

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

1712.3k1](/packages/jelix-wikirenderer)[area17/laravel-auto-head-tags

Laravel Auto Head Tags helps you build the list of head elements for your app

4616.1k](/packages/area17-laravel-auto-head-tags)[webkinder/sproutset

A Composer package for handling responsive images in Roots Bedrock + Sage + Blade projects.

282.2k](/packages/webkinder-sproutset)[muratbsts/mail-template

This package is a easy to use mail template collection for Laravel 5.x.

191.3k](/packages/muratbsts-mail-template)

PHPackages © 2026

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