Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Field Tire Laravel Package

baks-dev/field-tire

View on GitHub
Deep Wiki
Context7

BaksDev Field Tire

Version php 8.4+ packagist

Пакет полей HTML для автомобильных шин

Установка

composer require baks-dev/field-tire

Настройки

Для отображения в выпадающих списках полей, добавить настройку сервиса в конфиг:

config/packages/field.php

<?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',
	]);

};

Переопределение шаблонов

Шаблоны переопределяются в директории templates в виде текстового представления (content.html.twig), и шаблона ( template.html.twig)

Диаметр шины

  • /templates/field-tire/radius/content.html.twig
  • /templates/field-tire/radius/template.html.twig

Профиль нины

  • /templates/field-tire/profile/content.html.twig
  • /templates/field-tire/profile/template.html.twig

Ширина нины

  • /templates/field-tire/width/content.html.twig
  • /templates/field-tire/width/template.html.twig

Сезонность

  • /templates/field-tire/season/content.html.twig
  • /templates/field-tire/season/template.html.twig

Шипы

  • /templates/field-tire/studs/content.html.twig
  • /templates/field-tire/studs/template.html.twig

Тип автомобиля

  • /templates/field-tire/cartype/content.html.twig
  • /templates/field-tire/cartype/template.html.twig

Евроэтикетка

  • /templates/field-tire/euro/content.html.twig
  • /templates/field-tire/euro/template.html.twig

Лицензия License

The MIT License (MIT). Обратитесь к Файлу лицензии за дополнительной информацией.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
se7enxweb/flysystem
lampwick/laravel
jeslage/statamic-emojis
micahdshackelford/rmap-laravel
draftsmaninc/draftsman
square-bit/laravel-volition
himito/laravel-mailman
htinlynn/genius-helper
maco-studios/hephaestus
elmogy/larafast
xeviant/laravel-paystack
gorilladash/laravel-website-sdk
martialbe/flysystem-oss
chondal/3312client
jeroen-g/flickr
opscale-co/nova-genbi
itsjustvita/laravel-retention
tequilarapido/trackit
gregsphotography/site-builder-filament
cabaoctavio/laravel-query-log