nowo-tech / tag-input-bundle
Symfony Tag FormType with Tagify UI for multi-tag text inputs.
Package info
github.com/nowo-tech/TagInputBundle
Type:symfony-bundle
pkg:composer/nowo-tech/tag-input-bundle
Fund package maintenance!
Requires
- php: >=8.1 <8.6
- symfony/config: ^6.0 || ^7.0 || ^8.0
- symfony/dependency-injection: ^6.0 || ^7.0 || ^8.0
- symfony/form: ^6.0 || ^7.0 || ^8.0
- symfony/framework-bundle: ^6.0 || ^7.0 || ^8.0
- symfony/http-kernel: ^6.0 || ^7.0 || ^8.0
- symfony/twig-bundle: ^6.0 || ^7.0 || ^8.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.0
- phpstan/extension-installer: ^1.0
- phpstan/phpstan: ^2.0
- phpstan/phpstan-phpunit: ^2.0
- phpstan/phpstan-symfony: ^2.0
- phpunit/phpunit: ^11.0
- rector/rector: ^2.0
- symfony/browser-kit: ^6.0 || ^7.0 || ^8.0
- symfony/dom-crawler: ^6.0 || ^7.0 || ^8.0
- symfony/yaml: ^6.0 || ^7.0 || ^8.0
This package is auto-updated.
Last update: 2026-07-05 14:52:26 UTC
README
⭐ Found this useful? Install from Packagist · Give it a star on GitHub so more developers can find it.
Symfony FormType for multi-tag text inputs powered by Tagify.
FrankenPHP worker mode: Not declared as supported for this bundle at the moment.
Features
TagType::classfor keywords, labels, emails, skills, categories, and more.- Tagify UI on a standard text input with Twig form themes.
- Model value as
array<string>or comma-separatedstring. - Whitelist, max tags, pattern validation, duplicates, and dropdown suggestions.
- TypeScript + Vite assets bundling Tagify in
src/Resources/assets.
Documentation
- Installation
- Configuration
- Usage
- Contributing
- Changelog
- Upgrading
- Release
- Security
- Engram
- Spec-driven development
Additional documentation
Quick usage
use Nowo\TagInputBundle\Form\TagType; $builder->add('tags', TagType::class, [ 'placeholder' => 'Add tags and press Enter', 'max_tags' => 10, 'whitelist' => ['php', 'symfony', 'twig'], 'input_class' => 'form-control', ]);
Include the bundle assets in your layout or form template:
<link rel="stylesheet" href="{{ asset('bundles/nowotaginput/tag-input.css') }}"> <script src="{{ asset('bundles/nowotaginput/tag-input.js') }}"></script>
Run php bin/console assets:install public after installing the bundle.
The submitted value is an array of strings by default, e.g. ['php', 'symfony'].
Version information
Current stable release: v1.0.1 (changelog).
Tests and coverage
- PHP: 100%
- TS/JS: 96%
- Python: N/A