Download the PHP package tourze/user-tag-bundle without Composer
On this page you can find all versions of the php package tourze/user-tag-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package user-tag-bundle
User Tag Bundle
中文
A comprehensive user tagging system for Symfony applications, supporting static tags, smart tags, and SQL-based tags with category management.
Table of Contents
- Features
- Installation
- Configuration
- Quick Start
- Advanced Usage
- API Reference
- Requirements
- License
Features
- Static Tags: Manual assignment of tags to users
- Smart Tags: Automatic tag assignment based on JSON rules and cron expressions
- SQL Tags: Dynamic tag assignment using custom SQL queries
- Category Management: Hierarchical organization of tags
- Assignment Tracking: Complete audit trail of tag assignments
- EasyAdmin Integration: Ready-to-use admin interface
- JSON-RPC API: RESTful API for tag management
Installation
Configuration
The bundle works out of the box with minimal configuration. Services are auto-configured through services.yaml.
Quick Start
1. Register the Bundle
2. Configure Database
Run migrations to create the required tables:
3. Basic Usage
4. Using JSON-RPC API
Advanced Usage
Custom Tag Types
You can extend the system with custom tag types by implementing the TagInterface:
Event Listeners
The bundle dispatches events that you can listen to:
Smart Tag Rules
Configure complex JSON rules for smart tags:
SQL Tag Examples
Dynamic tags using SQL queries:
API Reference
JSON-RPC Procedures
Tag Management
CreateSingleUserTag- Create a new tagUpdateSingleUserTag- Update existing tagDeleteSingleUserTag- Delete a tagGetUserTagList- List all tags
Category Management
CreateSingleUserTagCategory- Create a new categoryUpdateSingleUserTagCategory- Update existing categoryDeleteSingleUserTagCategory- Delete a categoryGetUserTagCategories- List all categories
Tag Assignment
AssignTagToBizUser- Assign tag to userUnassignTagToBizUser- Remove tag from userGetAssignTagsByBizUserId- Get user's assigned tagsAdminGetAssignLogsByTag- Get assignment history
Entities
Tag- Main tag entity with support for different typesCategory- Hierarchical category systemSmartRule- JSON-based rules for smart tagsSqlRule- SQL-based rules for dynamic tagsAssignLog- Assignment tracking and audit trail
Requirements
- PHP 8.1+
- Symfony 6.4+
- Doctrine ORM 3.0+
- Doctrine DBAL 3.0+
Required Packages
symfony/framework-bundledoctrine/ormdoctrine/doctrine-bundletourze/doctrine-timestamp-bundletourze/doctrine-snowflake-bundletourze/arrayable
License
This bundle is released under the MIT License. See the LICENSE file for details.
All versions of user-tag-bundle with dependencies
doctrine/data-fixtures Version ^2.0
doctrine/dbal Version ^4.0
doctrine/doctrine-bundle Version ^2.13
doctrine/doctrine-fixtures-bundle Version ^4.0
doctrine/orm Version ^3.0
doctrine/persistence Version ^4.1
easycorp/easyadmin-bundle Version ^4
knplabs/knp-menu Version ^3.7
monolog/monolog Version ^3.1
nesbot/carbon Version ^2.72 || ^3
psr/log Version ^3|^2|^1
symfony/config Version ^7.3
symfony/dependency-injection Version ^7.3
symfony/doctrine-bridge Version ^7.3
symfony/event-dispatcher Version ^7.3
symfony/event-dispatcher-contracts Version ^3
symfony/expression-language Version ^7.3
symfony/form Version ^7.3
symfony/framework-bundle Version ^7.3
symfony/http-kernel Version ^7.3
symfony/property-access Version ^7.3
symfony/routing Version ^7.3
symfony/security-bundle Version ^7.3
symfony/security-core Version ^7.3
symfony/security-http Version ^7.3
symfony/serializer Version ^7.3
symfony/service-contracts Version ^3.6
symfony/yaml Version ^7.3
tourze/arrayable Version 1.*
tourze/bundle-dependency Version 1.*
tourze/catalog-bundle Version 1.0.*
tourze/doctrine-helper Version 1.0.*
tourze/doctrine-ip-bundle Version 1.1.*
tourze/doctrine-snowflake-bundle Version 1.1.*
tourze/doctrine-timestamp-bundle Version 1.1.*
tourze/doctrine-track-bundle Version 1.1.*
tourze/doctrine-user-bundle Version 1.0.*
tourze/easy-admin-extra-bundle Version 1.0.*
tourze/easy-admin-menu-bundle Version 1.0.*
tourze/enum-extra Version 1.0.*
tourze/json-rpc-core Version 1.0.*
tourze/json-rpc-lock-bundle Version 1.0.*
tourze/json-rpc-log-bundle Version 1.0.*
tourze/json-rpc-paginator-bundle Version 1.0.*
tourze/symfony-aop-lock-bundle Version 1.0.*
tourze/symfony-dependency-service-loader Version 1.0.*
tourze/user-id-bundle Version 1.0.*
tourze/user-service-contracts Version 1.1.*
tourze/user-tag-contracts Version 1.0.*
yiisoft/json Version ^1.0