Skip to content

SmartInformationSystems/TagsBundle

Repository files navigation

Работа с тегами

Требования:

  • php 7
  • symfony 3.2

Установка

  1. Прописать пакет и ссылку на репозиторий в composer.json
{
    // ...
    "require": {
        // ...
        "SmartInformationSystems/tags-bundle": "dev-master"
    },
    "repositories": [
        {
            "type" : "vcs",
            "url" : "https://github.com/SmartInformationSystems/TagsBundle.git"
        }
    ]
}
  1. Включить бандл в app/AppKernel.php
class AppKernel extends Kernel
{
    public function registerBundles()
    {
        $bundles = array(
            // ...
            new SmartInformationSystems\FileBundle\SmartInformationSystemsTagsBundle(),
            // ...
        );
    }
}
  1. Включить необходимые шаблоны
twig:
    form_themes:
        - 'SmartInformationSystemsTagsBundle:form:fields.html.twig'
  1. Добавить настроки в app/config/routing.yml
smart_information_systems.tags:
    resource: "@SmartInformationSystemsTagsBundle/Resources/config/routing.yml"
    prefix: /tags

Использование

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published