定制 nowo-tech/tag-input-bundle 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

nowo-tech/tag-input-bundle

Composer 安装命令:

composer require nowo-tech/tag-input-bundle

包简介

Symfony Tag FormType with Tagify UI for multi-tag text inputs.

README 文档

README

CI Packagist Version Packagist Downloads License PHP Symfony GitHub stars Coverage

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::class for 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-separated string.
  • Whitelist, max tags, pattern validation, duplicates, and dropdown suggestions.
  • TypeScript + Vite assets bundling Tagify in src/Resources/assets.

Documentation

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

统计信息

  • 总下载量: 0
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-07-05

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固