smart-information-systems / tags-bundle
Tags bundle
Installs: 27
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 2
Open Issues: 0
Type:symfony-bundle
Requires
- php: >=7.0
- symfony/symfony: ^3.2.0
This package is not auto-updated.
Last update: 2025-05-08 21:52:48 UTC
README
Требования:
- php 7
- symfony 3.2
Установка
- Прописать пакет и ссылку на репозиторий в
composer.json
{ // ... "require": { // ... "SmartInformationSystems/tags-bundle": "dev-master" }, "repositories": [ { "type" : "vcs", "url" : "https://github.com/SmartInformationSystems/TagsBundle.git" } ] }
- Включить бандл в
app/AppKernel.php
class AppKernel extends Kernel { public function registerBundles() { $bundles = array( // ... new SmartInformationSystems\FileBundle\SmartInformationSystemsTagsBundle(), // ... ); } }
- Включить необходимые шаблоны
twig: form_themes: - 'SmartInformationSystemsTagsBundle:form:fields.html.twig'
- Добавить настроки в
app/config/routing.yml
smart_information_systems.tags: resource: "@SmartInformationSystemsTagsBundle/Resources/config/routing.yml" prefix: /tags