PHP code example of jascha030 / twig-service
1. Go to this page and download the library: Download jascha030/twig-service 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/ */
jascha030 / twig-service example snippets
use Twig\Loader\FilesystemLoader;
use Twig\Environment;
use Jascha030\Twig\TwigService;
/**
* Include Composer's autoloader.
*/
rvice($environment);
shell
php-cs-fixer fix --config=.php-cs-fixer.dist.php