Skip to content

A collection of PHP classes to process/parse text e.g. convert HTML to MediaWiki markup.

Notifications You must be signed in to change notification settings

aklump/loft_parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Summary

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

  1. Add the following to composer.json:

     {
       "require": {
         "aklump/loft_parser": "0.1.*"
       }
     }
    
  2. 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

  1. 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

About

A collection of PHP classes to process/parse text e.g. convert HTML to MediaWiki markup.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages