PHP code example of xervice / gui
1. Go to this page and download the library: Download xervice/gui 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/ */
xervice / gui example snippets
namespace App\Twig;
use Xervice\Atomic\Communication\Twig\AtomicTwigExtension;
use Xervice\Twig\TwigDependencyProvider as XerviceTwigDependencyProvider;
class TwigDependencyProvider extends XerviceTwigDependencyProvider
{
/**
* @return array
*/
protected function getTwigExtensions(): array
{
return [
new AtomicTwigExtension()
];
}
}