philippfrenzel/yii2wikiparser

Yii2 Creole Syntax Parser

dev-master 2013-06-15 13:49 UTC

This package is not auto-updated.

Last update: 2024-12-21 15:34:25 UTC


README

Yii2 Creole Wiki Parser

Intro

With the help of this class you can parse TEXT to HTML-Markup

Installation

Package is although registered at packagist.org - so you can just add one line of code, to let it run!

"require": {
        "yiisoft/yii2": "dev-master",
        "yiisoft/yii2-composer":"dev-master",
        "philippfrenzel/yii2wikiparser":"*"
},

Usage

$WikiHtml = new yii2wikiparser();
$WikiHtml->parse($TEXT,array());

As it's ported from an historical class, the next step will be to substitute the "old" tag generators with the new ones delivered by yii2. I'm waiting for the latest yii2 release so I can upgrade!