aklump/loft_parser
Composer 安装命令:
composer require aklump/loft_parser
包简介
A collection of classes to process/parse text e.g. convert HTML to MediaWiki markup.
README 文档
README
At the lowest level this project is a collection of classes that processes/parses text. Combined together they form the basis for the MediaWikiParser, which converts HTML text into MediaWiki markup. They lay the foundation for lots more parsing as time and necessity permits.
Installation
-
Add the following to
composer.json:{ "require": { "aklump/loft_parser": "0.1.*" } } -
Run
composer install.
Usage
Do something like this:
require_once 'vendor/autoload.php';
$p = new aklump\loft_parser\MediaWikiParser($html_string);
$mediawiki_markup = $p->parse();
Automated Tests
- The provided tests are for PHPUnit
##Contact
- In the Loft Studios
- Aaron Klump - Developer
- PO Box 29294 Bellingham, WA 98228-1294
- aim: theloft101
- skype: intheloftstudios
- d.o: aklump
- http://www.InTheLoftStudios.com
统计信息
- 总下载量: 86
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2013-10-22