PHPackages                             mattmezza/flat-file-blog - 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. mattmezza/flat-file-blog

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

mattmezza/flat-file-blog
========================

Need a blog module for you website? This one's based on flat files

v1.0(9y ago)320[7 issues](https://github.com/mattmezza/FlatFileBlog/issues)MITPHPPHP &gt;=5.3.0

Since Nov 17Pushed 9y ago2 watchersCompare

[ Source](https://github.com/mattmezza/FlatFileBlog)[ Packagist](https://packagist.org/packages/mattmezza/flat-file-blog)[ RSS](/packages/mattmezza-flat-file-blog/feed)WikiDiscussions master Synced yesterday

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

FlatFileBlog
============

[](#flatfileblog)

Need a blog module for you website? This one's based on flat files

[![Build Status](https://camo.githubusercontent.com/d0c46173fa5cee398e83f9578e3305ca4b8552c10a536f4a345208bc04b01e42/68747470733a2f2f7472617669732d63692e6f72672f6d6174746d657a7a612f466c617446696c65426c6f672e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/mattmezza/FlatFileBlog) [![Latest Stable Version](https://camo.githubusercontent.com/132683a1c481418e2900c5a24f27d8fc3b708d0fe644e5e4e908b552c499b58e/68747470733a2f2f706f7365722e707567782e6f72672f6d6174746d657a7a612f666c61742d66696c652d626c6f672f762f737461626c65)](https://packagist.org/packages/mattmezza/flat-file-blog) [![License](https://camo.githubusercontent.com/62c609fcf7fdf1af1b1cf2e1abcd828a7e65153736a5a603f11011b634396c07/68747470733a2f2f706f7365722e707567782e6f72672f6d6174746d657a7a612f666c61742d66696c652d626c6f672f6c6963656e7365)](https://packagist.org/packages/mattmezza/flat-file-blog)

---

`composer require mattmezza/flat-file-blog`

```
$blog_manager = new BlogManager($url, $posts_dir, $posts_perpage, $pages_dir, $authors);
$page = $blog_manager->get_page("page");
// reads file page.md from dir $pages_dir
// parses yaml initial section into $page->metas
// converts md into html and puts content in $page->body
echo $page->body;
```

Check out `tests/BlogTest.php` for more information.

Matteo Merola

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity58

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

3511d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1915989?v=4)[Matteo Merola](/maintainers/mattmezza)[@mattmezza](https://github.com/mattmezza)

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/mattmezza-flat-file-blog/health.svg)

```
[![Health](https://phpackages.com/badges/mattmezza-flat-file-blog/health.svg)](https://phpackages.com/packages/mattmezza-flat-file-blog)
```

###  Alternatives

[friendsoftypo3/content-blocks

TYPO3 CMS Content Blocks - Content Types API | Define reusable components via YAML

101466.4k45](/packages/friendsoftypo3-content-blocks)[rcsofttech/audit-trail-bundle

Enterprise-grade, high-performance Symfony audit trail bundle. Automatically track Doctrine entity changes with split-phase architecture, multiple transports (HTTP, Queue, Doctrine), and sensitive data masking.

1175.2k](/packages/rcsofttech-audit-trail-bundle)[blackfire/player

A powerful web crawler and web scraper with Blackfire support

49517.1k](/packages/blackfire-player)[altis/local-server

Local Server module for Altis

18217.0k2](/packages/altis-local-server)

PHPackages © 2026

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