PHP code example of candoimage / frctl_twig
1. Go to this page and download the library: Download candoimage/frctl_twig 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/ */
candoimage / frctl_twig example snippets
/* @var $twig Twig_Environment */
$twig->addExtension(new Frctl\Twig\Extension\FrctlTwigExtension());
$loader->addPath(dirname(__DIR__) . '/../frontend/src/components', 'FrctlTwig');