Writing your own Theme - php-pure/themer GitHub Wiki
To create a theme, you must extends the PhpPure\Themer\Themes\AbstractTheme
class
<?php
namespace Acme\Product;
use PhpPure\Themer\Themes\AbstractTheme;
class AcmeTheme extends AbstractTheme
{
public function execute()
{
// parse things up
}
}
The class has an abstract functions that you must follow, and that is the execute()
function.
The Basic
class has the unique way to parse the markdowns, you could fully review the class it self to have an ideal way for you to create your own theme.