Need a blog module for you website? This one's based on flat files
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 mattmezza@gmail.com