This library can be used to add basic wikitext (Mediawiki-style) support to a PHP app. Its role is NOT, by any means, to replace the Parsoid library from Wikimedia foundation, but to use the same syntaxic core of wikitext. Furthermore, you can extend this parser very easily to your project specifications (specially for url generation and templates).
This repository was forked from the abandoned project mike42.me/wikitext, that's why I've created a new package on Packagist.
Code may be re-mixed and re-used under the MIT licence. See 'examples' folder for usage.
- Abstracting
- Removing anti-patterns
- Unit testing
- Template Method Design Pattern for extending the html rendering