PHPackages                             pff/tag-it-bundle - 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. pff/tag-it-bundle

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

pff/tag-it-bundle
=================

Bundle to help use the Tag It library

2322[1 PRs](https://github.com/Point5Foundry/tag-it-bundle/pulls)PHP

Since Dec 14Pushed 13y ago1 watchersCompare

[ Source](https://github.com/Point5Foundry/tag-it-bundle)[ Packagist](https://packagist.org/packages/pff/tag-it-bundle)[ RSS](/packages/pff-tag-it-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

PffTagItBundle
==============

[](#pfftagitbundle)

Huge thanks to the Mopa Bootstrap bundle for ideas on how to handle this!

Installation
------------

[](#installation)

### Basic setup (include tag-it as well)

[](#basic-setup-include-tag-it-as-well)

```
{
    // ...
    "repositories": [
        {
            "type":"package",
            "package":{
                "name":"aehlke/tag-it",
                "version":"dev-master",
                "source":{

                    "url":"git://github.com/aehlke/tag-it.git",
                    "type":"git",
                    "reference":"master"
                }
            }
        }
    ],
    "require": {
        // all your existing requires
        ...
        "pff/tag-it-bundle": "dev-master",
        "aehlke/tag-it": "dev-master"
        ...
    },
    // ...
}

```

### Automatic linking to put tag-it in the right location

[](#automatic-linking-to-put-tag-it-in-the-right-location)

```
{
    // ...
    "scripts": {
        "post-install-cmd": [
            "Pff\\Bundle\\TagItBundle\\Composer\\ScriptHandler::postInstallSymlinkTagIt"
        ],
        "post-update-cmd": [
            "Pff\\Bundle\\TagItBundle\\Composer\\ScriptHandler::postInstallSymlinkTagIt"
        ]
    }
    // ...
}

```

### Add the form template to `config.yml`

[](#add-the-form-template-to-configyml)

```
twig:
    form:
        resources:
            - 'PffTagItBundle:Form:fields.html.twig'

```

### In the template you want to use the Tag It form field in:

[](#in-the-template-you-want-to-use-the-tag-it-form-field-in)

```
{% block javascripts %}
    {{ parent() }}
    {% javascripts '@PffTagItBundle/Resources/tag-it/js/*.js' %}

    {% endjavascripts %}
{% endblock javascripts %}
{% block stylesheets %}
    {{ parent() }}
    {% stylesheets '@PffTagItBundle/Resources/css/jquery.tagit.css' output="css/compiled/tag-it.css" %}

    {% endstylesheets %}
{% endblock stylesheets %}

```

Usage
-----

[](#usage)

### In your object

[](#in-your-object)

```
/**
 * @ORM\Column(type="text", nullable=true)
 */
protected $tags;

```

### Finally to implement in your form

[](#finally-to-implement-in-your-form)

```
->add('tags', 'tagit', array(
    'required' => false,
    'label' => 'Tags',
    'data_path' => $this->container->get('router')->generate('my_tag_list'),
))

```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/450978?v=4)[Jacob Mather](/maintainers/jmather)[@jmather](https://github.com/jmather)

---

Top Contributors

[![jmather](https://avatars.githubusercontent.com/u/450978?v=4)](https://github.com/jmather "jmather (22 commits)")

### Embed Badge

![Health badge](/badges/pff-tag-it-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/pff-tag-it-bundle/health.svg)](https://phpackages.com/packages/pff-tag-it-bundle)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
