PHPackages                             pxgamer/dirtyapi - 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. [API Development](/categories/api)
4. /
5. pxgamer/dirtyapi

AbandonedArchivedLibrary[API Development](/categories/api)

pxgamer/dirtyapi
================

A PHP class for utilising the DirtyMarkup API.

v2.0.4(8y ago)3512MITPHPPHP ^7.1

Since Dec 6Pushed 8y ago1 watchersCompare

[ Source](https://github.com/owenvoke/dirtyapi)[ Packagist](https://packagist.org/packages/pxgamer/dirtyapi)[ RSS](/packages/pxgamer-dirtyapi/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (2)Versions (14)Used By (0)

dirtyapi
========

[](#dirtyapi)

[![Latest Version on Packagist](https://camo.githubusercontent.com/8a8a5a5d6f426a0061132e18e98344e93e67a04a419cc257bc2ed78de49bbc34/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f707867616d65722f64697274796170692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/pxgamer/dirtyapi)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/364bfc164b3a6305b694a8a92d1ba16f1b747d45afa65b783195573b6e68e75a/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f707867616d65722f64697274796170692f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/pxgamer/dirtyapi)[![Style CI](https://camo.githubusercontent.com/b8d957639b4eea88aecef976a95f04ab8f8c4f22768ca00183f3c58021b0727a/68747470733a2f2f7374796c6563692e696f2f7265706f732f37333832353336352f736869656c64)](https://styleci.io/repos/73825365)[![Code Coverage](https://camo.githubusercontent.com/0fe5b5016c956243f0519d5a95ab15c082a42d54f864c10d7f85e7ba13e59f2f/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f707867616d65722f64697274796170692e7376673f7374796c653d666c61742d737175617265)](https://codecov.io/gh/pxgamer/dirtyapi)[![Total Downloads](https://camo.githubusercontent.com/f2eef9cc19c1910c19c2f91746557fe47768188b9a9db306ce129f98d6dd9097/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f707867616d65722f64697274796170692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/pxgamer/dirtyapi)

A PHP class for utilising the [DirtyMarkup](https://dirtymarkup.com) API.

Structure
---------

[](#structure)

```
src/
tests/
vendor/

```

Install
-------

[](#install)

Via Composer

```
$ composer require pxgamer/dirtyapi
```

Usage
-----

[](#usage)

```
use \pxgamer\DirtyApi\Beautifier();
$beautifier = new Beautifier;
```

#### Methods

[](#methods)

Method NameParametersReturns`$beautifier->html()`string, int`string (json)``$beautifier->css()`string, int`string (json)``$beautifier->js()`string, int`string (json)`Change log
----------

[](#change-log)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Testing
-------

[](#testing)

```
$ composer test
```

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) and [CODE\_OF\_CONDUCT](CODE_OF_CONDUCT.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [pxgamer](https://github.com/pxgamer)
- [@claviska](https://twitter.com/claviska)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity65

Established project with proven stability

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

Recently: every ~7 days

Total

12

Last Release

3129d ago

Major Versions

v1.0.6 → v2.0.02017-11-07

PHP version history (3 changes)v1.0.0PHP &gt;=5.5.0

v1.0.6PHP &gt;=5.6.0

v2.0.0PHP ^7.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1899334?v=4)[Owen Voke](/maintainers/owenvoke)[@owenvoke](https://github.com/owenvoke)

---

Top Contributors

[![owenvoke](https://avatars.githubusercontent.com/u/1899334?v=4)](https://github.com/owenvoke "owenvoke (42 commits)")

---

Tags

apidirtymarkup-apiphp-wrapper

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/pxgamer-dirtyapi/health.svg)

```
[![Health](https://phpackages.com/badges/pxgamer-dirtyapi/health.svg)](https://phpackages.com/packages/pxgamer-dirtyapi)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35916.4M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24016.2M18](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172437.8k11](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93459.5k6](/packages/botman-driver-telegram)

PHPackages © 2026

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