smart-information-systems / tags-bundle
Tags bundle
Package info
github.com/SmartInformationSystems/TagsBundle
Type:symfony-bundle
pkg:composer/smart-information-systems/tags-bundle
dev-master / 2.0.x-dev
2018-02-01 19:36 UTC
Requires
- php: >=7.0
- symfony/symfony: ^3.2.0
This package is not auto-updated.
Last update: 2026-03-13 01:51:45 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