2017 © Pedro Peláez
 

library blog-manager

An utility to manage a small blog with files and markdown syntax

image

mattmezza/blog-manager

An utility to manage a small blog with files and markdown syntax

  • Sunday, January 8, 2017
  • by mattmezza
  • Repository
  • 2 Watchers
  • 0 Stars
  • 35 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Travis Scrutinizer Coverage Scrutinizer Packagist, (*1)

blog-manager

A PHP utility class to manage a small blog with files and markdown syntax, (*2)

composer require mattmezza/blog-manager, (*3)

require_once 'vendor/autoload.php';

$config = array(
  "posts" => array(
    "dir" => __DIR__ . "/posts",
    "perpage" => 5
  ),
  "pages" => array(
    "dir" => __DIR__ . "/pages/"
  ),
  "url" => "http://localhost:8000"
);

$bm = new Blog\Manager($config);
$page = $bm->get_page("test");

// echo $page->title;
echo $page->body;
// echo $page->metas->wooow;

test.md, (*4)

title: test
wooow: 'YAML syntax'
------------
# Test
Let's _try_
Matteo Merola mattmezza@gmail.com

The Versions

08/01 2017

dev-master

9999999-dev

An utility to manage a small blog with files and markdown syntax

  Sources   Download

MIT

The Requires

 

The Development Requires

07/01 2017

v1.0

1.0.0.0

An utility to manage a small blog with files and markdown syntax

  Sources   Download

MIT

The Requires

 

The Development Requires