PHPackages                             setono/sylius-tag-bag-plugin - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. setono/sylius-tag-bag-plugin

ActiveSylius-plugin[Utility &amp; Helpers](/categories/utility)

setono/sylius-tag-bag-plugin
============================

Plugin that integrates Setono/TagBagBundle into your Sylius project

v1.3.0(3y ago)1306.3k—1.9%2[1 issues](https://github.com/Setono/SyliusTagBagPlugin/issues)[2 PRs](https://github.com/Setono/SyliusTagBagPlugin/pulls)5MITPHPPHP &gt;=7.4

Since Feb 15Pushed 2y ago1 watchersCompare

[ Source](https://github.com/Setono/SyliusTagBagPlugin)[ Packagist](https://packagist.org/packages/setono/sylius-tag-bag-plugin)[ RSS](/packages/setono-sylius-tag-bag-plugin/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (6)Dependencies (8)Versions (11)Used By (5)

Sylius Tag Bag Plugin
=====================

[](#sylius-tag-bag-plugin)

[![Latest Version on Packagist](https://camo.githubusercontent.com/ac37875d0843aa3608a0e11e760d10d11622e17d598976e25cb727729a40d809/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7365746f6e6f2f73796c6975732d7461672d6261672d706c7567696e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/setono/sylius-tag-bag-plugin)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Build Status](https://camo.githubusercontent.com/2360c588d4ad07a1781a37deb679d35af321b60d2661d03074b18816ecb3429b/68747470733a2f2f7472617669732d63692e636f6d2f5365746f6e6f2f53796c697573546167426167506c7567696e2e7376673f6272616e63683d6d6173746572)](https://travis-ci.com/Setono/SyliusTagBagPlugin)[![Quality Score](https://camo.githubusercontent.com/f5e581f083f7d26829be5d2ed56957cefba9f3f2cd92753657d7b859b06a72bc/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f5365746f6e6f2f53796c697573546167426167506c7567696e2e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/Setono/SyliusTagBagPlugin)

Plugin that integrates the [TagBagBundle](https://github.com/Setono/TagBagBundle) into your Sylius project

Making plugin requiring TagBagBundle
------------------------------------

[](#making-plugin-requiring-tagbagbundle)

### Configure `composer.json`

[](#configure-composerjson)

```
{
    "type": "sylius-plugin",
    "keywords": ["sylius", "sylius-plugin", "setono-tagbag", "..."],
    "require": {
        "sylius/sylius": "^1.4.0",
        "setono/tag-bag-bundle": "^2.0"
    },
    "suggest": {
        "setono/sylius-tag-bag-plugin": "Use it if you don't want to override shop's layout.html.twig"
    },
    "require-dev": {
        "setono/sylius-tag-bag-plugin": "^1.0"
    }
}
```

Note, that `setono/sylius-tag-bag-plugin` should be development dependency to give your plugin user (application developer) a chance to not use it if he already have overriden the shop's `layout.html.twig` in his application which is required by `Setono/TagBagBundle` (see [github.com/Setono/TagBagBundle#usage](https://github.com/Setono/TagBagBundle#usage)).

### Add next blocks to plugin's `README.md`

[](#add-next-blocks-to-plugins-readmemd)

- Require library:

```
# Omit setono/sylius-tag-bag-plugin if you want to
# override layout.html.twig as described at https://github.com/Setono/TagBagBundle#usage
composer require your/plugin setono/sylius-tag-bag-plugin
```

- Include bundles:

```
