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. aklump/loft\_parser

ActiveLibrary

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 2mo ago

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 43% 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

4217d 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

[composer/installers

A multi-framework Composer library installer

1.4k136.0M6.0k](/packages/composer-installers)[voku/simple_html_dom

Simple HTML DOM package.

9188.3M63](/packages/voku-simple-html-dom)[mediawiki/semantic-media-wiki

An extension to MediaWiki that lets you store and query structured data within wiki pages

586361.8k33](/packages/mediawiki-semantic-media-wiki)[wikimedia/parsoid

Parsoid, a bidirectional parser between wikitext and HTML5

171524.3k1](/packages/wikimedia-parsoid)[mediawiki/mediawiki-codesniffer

MediaWiki CodeSniffer Standards

332.9M317](/packages/mediawiki-mediawiki-codesniffer)[mediawiki/chameleon-skin

A highly flexible MediaWiki skin using Bootstrap 4

12481.8k2](/packages/mediawiki-chameleon-skin)

PHPackages © 2026

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