1. Go to this page and download the library: Download katheroine/layin library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
katheroine / layin example snippets
namespace AwesomeAuthor\AwesomeSite\Preconfiguration;
use Katheroine\Layin\Renderer\AbstractPageRenderer;
use Katheroine\Layin\Renderer\AbstractVioletPreconfiguredPageRenderer;
use Katheroine\Layin\Renderer\TwigPageRenderer;
abstract class AbstractBasePreconfiguredPageRenderer extends AbstractVioletPreconfiguredPageRenderer
{
protected function providePageRenderer(): AbstractPageRenderer
{
return new TwigPageRenderer();
}
abstract protected function providePreconfiguration(): array;
}