PHP code example of baks-dev / field-tire

1. Go to this page and download the library: Download baks-dev/field-tire 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/ */

    

baks-dev / field-tire example snippets

 php


use Symfony\Config\TwigConfig;

return static function (TwigConfig $twig) {
	
	/** Шаблоны полей в форме */
	$twig->formThemes([
		'@field-tire-season/form.row.html.twig',
		'@field-tire-studs/form.row.html.twig',
		'@field-tire-cartype/form.row.html.twig',
		'@field-tire-euro/form.row.html.twig',
	]);

};