PHPackages                             opengeek/content-markdown - 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. opengeek/content-markdown

ActiveLibrary

opengeek/content-markdown
=========================

Markdown repository for opengeek/content

0.1.0(1w ago)01↓100%MITPHPPHP ^8.3CI passing

Since Mar 11Pushed 1w agoCompare

[ Source](https://github.com/opengeek/content-markdown)[ Packagist](https://packagist.org/packages/opengeek/content-markdown)[ RSS](/packages/opengeek-content-markdown/feed)WikiDiscussions main Synced today

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

opengeek/content-markdown
=========================

[](#opengeekcontent-markdown)

[![PHP ^8.3](https://camo.githubusercontent.com/9d9ec35e438d32eee58734a510238e61050b48e92f67595cd0047b61f5ece336/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d253545382e332d626c7565)](https://camo.githubusercontent.com/9d9ec35e438d32eee58734a510238e61050b48e92f67595cd0047b61f5ece336/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d253545382e332d626c7565)

Markdown file repository implementation for `opengeek/content`.

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

[](#installation)

```
composer require opengeek/content-markdown
```

Features
--------

[](#features)

- **Generic Base**: `AbstractMarkdownRepository` to easily build additional file-based content types.
- **Mappers**: `ContentMapperInterface` support for decoupling raw Markdown/YAML data from DTOs.
- **Read-only**: Designed for performant, read-only filesystem-based content.
- **Front Matter**: Full YAML front matter support via `mni/front-yaml`.
- **Recursive Discovery**: Built-in support for nested directory structures.

Usage
-----

[](#usage)

```
use Opengeek\Content\Markdown\MarkdownArticleRepository;
use Opengeek\Content\Markdown\MarkdownArticleRepositoryConfig;
use Opengeek\Content\Markdown\MarkdownArticleMapper;

$config = new MarkdownArticleRepositoryConfig(
    contentPath: __DIR__ . '/content/articles',
    recursive: true
);

$repository = new MarkdownArticleRepository(
    $config,
    new MarkdownArticleMapper()
);

$articles = $repository->findAll();
```

###  Health Score

37

—

LowBetter than 84% of packages

Maintenance98

Actively maintained with recent releases

Popularity2

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

 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

10d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/21d2fffab15f3e6d2f9f282e75aa939fad57a55608fb16e1f018187f60cd091b?d=identicon)[opengeek](/maintainers/opengeek)

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/opengeek-content-markdown/health.svg)

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

###  Alternatives

[tightenco/jigsaw

Simple static sites with Laravel's Blade.

2.2k434.0k26](/packages/tightenco-jigsaw)[couscous/couscous

Documentation website generator

84067.1k22](/packages/couscous-couscous)[darkghosthunter/preloader

Preloader helper to create a PHP-ready preload script from Opcache.

433657.4k1](/packages/darkghosthunter-preloader)[wpstarter/framework

The WpStarter Framework - Laravel Framework for WordPress

1610.0k4](/packages/wpstarter-framework)

PHPackages © 2026

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