PHPackages                             aklump/loft\_parser - 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. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. aklump/loft\_parser

ActiveLibrary[Parsing &amp; Serialization](/categories/parsing)

aklump/loft\_parser
===================

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

0.1.3(11y ago)186BSD-3-ClausePHP

Since Oct 22Pushed 11y ago1 watchersCompare

[ Source](https://github.com/aklump/loft_parser)[ Packagist](https://packagist.org/packages/aklump/loft_parser)[ Docs](http://github.com/aklump/loft_parser)[ RSS](/packages/aklump-loft-parser/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (6)Used By (0)

Summary
-------

[](#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
------------

[](#installation)

1. Add the following to `composer.json`:

    ```
     {
       "require": {
         "aklump/loft_parser": "0.1.*"
       }
     }

    ```
2. Run `composer install`.

Usage
-----

[](#usage)

Do something like this:

```
require_once 'vendor/autoload.php';
$p = new aklump\loft_parser\MediaWikiParser($html_string);
$mediawiki_markup = $p->parse();

```

Automated Tests
---------------

[](#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
-

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 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 ~121 days

Total

4

Last Release

4267d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/79476f3b82f9c766433c7eb401cbcfc636cd5d5ccf2b2e6b50ea81d1de6c2730?d=identicon)[aklump](/maintainers/aklump)

---

Top Contributors

[![aklump](https://avatars.githubusercontent.com/u/425737?v=4)](https://github.com/aklump "aklump (16 commits)")

---

Tags

mediawikiHTML Parsermarkup converter

### Embed Badge

![Health badge](/badges/aklump-loft-parser/health.svg)

```
[![Health](https://phpackages.com/badges/aklump-loft-parser/health.svg)](https://phpackages.com/packages/aklump-loft-parser)
```

###  Alternatives

[voku/simple_html_dom

Simple HTML DOM package.

9038.8M80](/packages/voku-simple-html-dom)[wikimedia/parsoid

Parsoid, a bidirectional parser between wikitext and HTML5

186545.9k2](/packages/wikimedia-parsoid)[illuminated/wikipedia-grabber

Wikipedia/MediaWiki Grabber for Laravel.

477.3k](/packages/illuminated-wikipedia-grabber)[jeroen/mediawiki-github

Simple MediaWiki extension for embedding GitHub hosted content in wiki pages. Supports markdown rendering and syntax highlighting.

334.4k](/packages/jeroen-mediawiki-github)

PHPackages © 2026

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