PHPackages                             binarytorch/phpdown - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. binarytorch/phpdown

AbandonedArchivedLibrary[Utility &amp; Helpers](/categories/utility)

binarytorch/phpdown
===================

Code-Driven PHP Markdown Representation

v1.0(6y ago)11131MITPHPPHP ^7.1

Since Jul 20Pushed 6y agoCompare

[ Source](https://github.com/saleem-hadad/phpdown)[ Packagist](https://packagist.org/packages/binarytorch/phpdown)[ Docs](https://github.com/binarytorch/phpdown)[ RSS](/packages/binarytorch-phpdown/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

######  [![](https://camo.githubusercontent.com/1d729968e9e08a2a126a29e009e781e310aceb1668af680e0783e32eabd72499/68747470733a2f2f706870646f776e2e62696e617279746f7263682e636f6d2e6d792f696d616765732f706870646f776e2d6c6f676f2e706e67)](https://camo.githubusercontent.com/1d729968e9e08a2a126a29e009e781e310aceb1668af680e0783e32eabd72499/68747470733a2f2f706870646f776e2e62696e617279746f7263682e636f6d2e6d792f696d616765732f706870646f776e2d6c6f676f2e706e67)

[](#----)

 Code-Driven PHP Markdown Representation
-----------------------------------------

[](#----code-driven-php-markdown-representation)

[![License](https://camo.githubusercontent.com/78c48d1ff8a9c6e05aaca32a37c1cdaac7ad3911279b510406efcb7932d5eaa6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f62696e617279746f7263682f706870646f776e2e737667)](https://github.com/saleem-hadad/phpdown)[![Release](https://camo.githubusercontent.com/fb1ce3dfb0bf1d29653a7d675ab4311b6e5f363a99ab986a4b4b67fefca56bd8/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f73616c65656d2d68616461642f706870646f776e2e737667)](https://github.com/saleem-hadad/phpdown)[![License](https://camo.githubusercontent.com/f45d904953153ca304a2328243d2733e095eee13a631a1f390709885d41dd692/68747470733a2f2f706f7365722e707567782e6f72672f6c61726176656c2f6672616d65776f726b2f6c6963656e73652e737667)](https://github.com/saleem-hadad/phpdown)

[![overview](https://camo.githubusercontent.com/ff8eddd22fc81126642a0a82cd5ff1f3de1a4de56a458074fbdb7d9605784298/68747470733a2f2f706870646f776e2e62696e617279746f7263682e636f6d2e6d792f696d616765732f706870646f776e2e706e67)](https://camo.githubusercontent.com/ff8eddd22fc81126642a0a82cd5ff1f3de1a4de56a458074fbdb7d9605784298/68747470733a2f2f706870646f776e2e62696e617279746f7263682e636f6d2e6d792f696d616765732f706870646f776e2e706e67)

PHPDown
=======

[](#phpdown)

Why? (optional)
---------------

[](#why-optional)

I know, it's a little bit funky to represent Markdown elements as PHP classes but let me show you the reason behind it.

Currently, I'm still actively maintaining my package [Larecipe](https://larecipe.binarytorch.com.my) which its main purpose is writing software documentation in a very elegant and beautiful looking. However, during my daily work as software team leader, I'm required to write a lot of docs for our projects and APIs where now I feel I have to automate this process and save some time on other important things.

Therefore, I've decided to develop a new open-source tool (will be available soon) for Larecipe where you can generate docs on the fly from your tests suites without warring on updating the docs every time you add new field or remove one and this idea requires to have Markdown generated output and yeah! you can guess the rest of the story 😆 but I really think this is helpful for other cases that's why I separated as a new package for PHP.

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require binarytorch/phpdown
```

Usage &amp; Supported Elements
------------------------------

[](#usage--supported-elements)

- Heading
- Breaks
- Blockquote
- Link
- Image
- Todo List
- Mutations: \[Strikethrough, Bold, Inline Code, Marked\]
- Code
- Table
- Markdown Document

See full [documentation](https://phpdown.binarytorch.com.my/docs)

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

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

### Security

[](#security)

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

Credits
-------

[](#credits)

- [Saleem Hadad](https://github.com/saleem-hadad)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

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

Unknown

Total

1

Last Release

2537d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/12780866?v=4)[Saleem Hadad سليم حداد](/maintainers/saleem-hadad)[@saleem-hadad](https://github.com/saleem-hadad)

---

Top Contributors

[![saleem-hadad](https://avatars.githubusercontent.com/u/12780866?v=4)](https://github.com/saleem-hadad "saleem-hadad (21 commits)")

---

Tags

binarytorchphpdown

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/binarytorch-phpdown/health.svg)

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

###  Alternatives

[v-matsuk/time-overlap-calculator

Time overlap calculator

1115.6k1](/packages/v-matsuk-time-overlap-calculator)

PHPackages © 2026

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