PHPackages                             brille24/markdown-formatter - 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. brille24/markdown-formatter

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

brille24/markdown-formatter
===========================

Formatting a stacktrace with markdown for monolog

1.0.9(3y ago)033.2k1MITPHPPHP &gt;=7.2CI failing

Since Jun 16Pushed 3y ago4 watchersCompare

[ Source](https://github.com/Brille24/markdown-formatter)[ Packagist](https://packagist.org/packages/brille24/markdown-formatter)[ RSS](/packages/brille24-markdown-formatter/feed)WikiDiscussions master Synced today

READMEChangelog (10)Dependencies (3)Versions (11)Used By (0)

Monolog Markdown Formatter
==========================

[](#monolog-markdown-formatter)

A formatter that prints the stack trace in markdown like so:

❗ Exception occurred here:
--------------------------

[](#exclamation-exception-occurred-here)

FunctionLocationMarkdownFormatterTest-&gt;testStackstrace()markdown-formatter/vendor/phpunit/phpunit/src/Framework/TestCase.php:1545PHPUnit\\Framework\\TestCase-&gt;runTest()markdown-formatter/vendor/phpunit/phpunit/src/Framework/TestCase.php:1151PHPUnit\\Framework\\TestCase-&gt;runBare()markdown-formatter/vendor/phpunit/phpunit/src/Framework/TestResult.php:726PHPUnit\\Framework\\TestResult-&gt;run()markdown-formatter/vendor/phpunit/phpunit/src/Framework/TestCase.php:903PHPUnit\\Framework\\TestCase-&gt;run()markdown-formatter/vendor/phpunit/phpunit/src/Framework/TestSuite.php:677PHPUnit\\Framework\\TestSuite-&gt;run()markdown-formatter/vendor/phpunit/phpunit/src/Framework/TestSuite.php:677PHPUnit\\Framework\\TestSuite-&gt;run()markdown-formatter/vendor/phpunit/phpunit/src/TextUI/TestRunner.php:663PHPUnit\\TextUI\\TestRunner-&gt;run()markdown-formatter/vendor/phpunit/phpunit/src/TextUI/Command.php:143PHPUnit\\TextUI\\Command-&gt;run()markdown-formatter/vendor/phpunit/phpunit/src/TextUI/Command.php:96PHPUnit\\TextUI\\Command::main()markdown-formatter/vendor/phpunit/phpunit/phpunit:98**Context:**

```
{
    "failed_test": "some tests failed."
}
```

Usage
-----

[](#usage)

`composer require brille24/markdown-formatter`

Define the class `Brille24\MarkdownFormatter\MarkdownFormatter` as a service and use it (assuming that auto-wiring is on):

```
monolog:
    type: 'service'
    id: "Brille24\\MarkdownFormatter\\MarkdownFormatter"
```

If you want to customize the base path that the location is relative to you can pass the first argument to the root of the project eg.

```
service:
    Brille24\MarkdownFormatter\MarkdownFormatter:
        arguments:
            - '/some/path/to/the/project'
```

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 92.3% 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 ~94 days

Recently: every ~57 days

Total

10

Last Release

1358d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/20574008?v=4)[Brille24](/maintainers/brille24)[@Brille24](https://github.com/Brille24)

---

Top Contributors

[![mamazu](https://avatars.githubusercontent.com/u/14860264?v=4)](https://github.com/mamazu "mamazu (12 commits)")[![OLTC-fperrin](https://avatars.githubusercontent.com/u/16817276?v=4)](https://github.com/OLTC-fperrin "OLTC-fperrin (1 commits)")

---

Tags

markdownsymfony

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/brille24-markdown-formatter/health.svg)

```
[![Health](https://phpackages.com/badges/brille24-markdown-formatter/health.svg)](https://phpackages.com/packages/brille24-markdown-formatter)
```

###  Alternatives

[flow-php/flow

PHP ETL - Extract Transform Load - Data processing framework

85036.3k](/packages/flow-php-flow)[pimcore/pimcore

Content &amp; Product Management Framework (CMS/PIM/E-Commerce)

3.8k3.8M505](/packages/pimcore-pimcore)[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.7k38.9k](/packages/matomo-matomo)[shopware/platform

The Shopware e-commerce core

3.4k1.5M3](/packages/shopware-platform)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.6M563](/packages/shopware-core)[oro/platform

Business Application Platform (BAP)

645143.5k114](/packages/oro-platform)

PHPackages © 2026

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