[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-7741":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":16,"stars30d":17,"stars90d":16,"forks30d":16,"starsTrendScore":16,"compositeScore":18,"rankGlobal":10,"rankLanguage":10,"license":19,"archived":20,"fork":20,"defaultBranch":21,"hasWiki":22,"hasPages":20,"topics":23,"createdAt":10,"pushedAt":10,"updatedAt":24,"readmeContent":25,"aiSummary":26,"trendingCount":16,"starSnapshotCount":16,"syncStatus":27,"lastSyncTime":28,"discoverSource":29},7741,"acts-as-taggable-on","mbleigh\u002Facts-as-taggable-on","mbleigh","A tagging plugin for Rails applications that allows for custom tagging along dynamic contexts.","http:\u002F\u002Fmbleigh.lighthouseapp.com\u002Fprojects\u002F10116-acts-as-taggable-on",null,"Ruby",4995,1193,70,208,0,1,31.23,"MIT License",false,"master",true,[],"2026-06-12 02:01:43","\u003C!-- START doctoc generated TOC please keep comment here to allow auto update -->\n\u003C!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->\n**Table of Contents**  *generated with [DocToc](https:\u002F\u002Fgithub.com\u002Fthlorenz\u002Fdoctoc)*\n\n- [ActsAsTaggableOn](#actsastaggableon)\n  - [Installation](#installation)\n      - [Post Installation](#post-installation)\n      - [For MySql users](#for-mysql-users)\n  - [Usage](#usage)\n    - [Finding most or least used tags](#finding-most-or-least-used-tags)\n    - [Finding Tagged Objects](#finding-tagged-objects)\n    - [Relationships](#relationships)\n    - [Dynamic Tag Contexts](#dynamic-tag-contexts)\n    - [Tag Parsers](#tag-parsers)\n    - [Tag Ownership](#tag-ownership)\n      - [Working with Owned Tags](#working-with-owned-tags)\n        - [Adding owned tags](#adding-owned-tags)\n        - [Removing owned tags](#removing-owned-tags)\n    - [Dirty objects](#dirty-objects)\n    - [Tag cloud calculations](#tag-cloud-calculations)\n  - [Configuration](#configuration)\n      - [Upgrading](#upgrading)\n  - [Contributors](#contributors)\n  - [Compatibility](#compatibility)\n  - [Testing](#testing)\n  - [License](#license)\n\n\u003C!-- END doctoc generated TOC please keep comment here to allow auto update -->\n\n# ActsAsTaggableOn\n\n[![Join the chat at https:\u002F\u002Fgitter.im\u002Fmbleigh\u002Facts-as-taggable-on](https:\u002F\u002Fbadges.gitter.im\u002Fmbleigh\u002Facts-as-taggable-on.svg)](https:\u002F\u002Fgitter.im\u002Fmbleigh\u002Facts-as-taggable-on?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)\n[![Gem Version](https:\u002F\u002Fbadge.fury.io\u002Frb\u002Facts-as-taggable-on.svg)](http:\u002F\u002Fbadge.fury.io\u002Frb\u002Facts-as-taggable-on)\n[![Build Status](https:\u002F\u002Fgithub.com\u002Fmbleigh\u002Facts-as-taggable-on\u002Fworkflows\u002Fspec\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Fmbleigh\u002Facts-as-taggable-on\u002Factions)\n[![Inline docs](http:\u002F\u002Finch-ci.org\u002Fgithub\u002Fmbleigh\u002Facts-as-taggable-on.svg)](http:\u002F\u002Finch-ci.org\u002Fgithub\u002Fmbleigh\u002Facts-as-taggable-on)\n[![Security](https:\u002F\u002Fhakiri.io\u002Fgithub\u002Fmbleigh\u002Facts-as-taggable-on\u002Fmaster.svg)](https:\u002F\u002Fhakiri.io\u002Fgithub\u002Fmbleigh\u002Facts-as-taggable-on\u002Fmaster)\n\nThis plugin was originally based on Acts as Taggable on Steroids by Jonathan Viney.\nIt has evolved substantially since that point, but all credit goes to him for the\ninitial tagging functionality that so many people have used.\n\nFor instance, in a social network, a user might have tags that are called skills,\ninterests, sports, and more. There is no real way to differentiate between tags and\nso an implementation of this type is not possible with acts as taggable on steroids.\n\nEnter Acts as Taggable On. Rather than tying functionality to a specific keyword\n(namely `tags`), acts as taggable on allows you to specify an arbitrary number of\ntag \"contexts\" that can be used locally or in combination in the same way steroids\nwas used.\n\n\n\n## Installation\n\nTo use it, add it to your Gemfile:\n\n```ruby\ngem 'acts-as-taggable-on'\n```\n\nand bundle:\n\n```shell\nbundle\n```\n\n#### Post Installation\n\nInstall migrations\n\n```shell\n# For the latest versions :\nrake acts_as_taggable_on_engine:install:migrations\n```\n\nReview the generated migrations then migrate :\n```shell\nrake db:migrate\n```\n\nIf you do not wish or need to support multi-tenancy, the migration for `add_tenant_to_taggings` is optional and can be discarded safely.\n\n#### For MySql users\nYou can circumvent at any time the problem of special characters [issue 623](https:\u002F\u002Fgithub.com\u002Fmbleigh\u002Facts-as-taggable-on\u002Fissues\u002F623) by setting in an initializer file:\n\n```ruby\nActsAsTaggableOn.force_binary_collation = true\n```\n\nOr by running this rake task:\n\n```shell\nrake acts_as_taggable_on_engine:tag_names:collate_bin\n```\n\nSee the Configuration section for more details, and a general note valid for older\nversion of the gem.\n\n\n## Usage\n\nSetup\n\n```ruby\nclass User \u003C ActiveRecord::Base\n  acts_as_taggable_on :tags\n  acts_as_taggable_on :skills, :interests #You can also configure multiple tag types per model\nend\n\nclass UsersController \u003C ApplicationController\n  def user_params\n    params.require(:user).permit(:name, :tag_list) ## Rails 4 strong params usage\n  end\nend\n\n@user = User.new(:name => \"Bobby\")\n```\n\nAdd and remove a single tag\n\n```ruby\n@user.tag_list.add(\"awesome\")   # add a single tag. alias for \u003C\u003C\n@user.tag_list.remove(\"awesome\") # remove a single tag\n@user.save # save to persist tag_list\n```\n\nAdd and remove multiple tags in an array\n\n```ruby\n@user.tag_list.add(\"awesome\", \"slick\")\n@user.tag_list.remove(\"awesome\", \"slick\")\n@user.save\n```\n\nYou can also add and remove tags in format of String. This would\nbe convenient in some cases such as handling tag input param in a String.\n\nPay attention you need to add `parse: true` as option in this case.\n\nYou may also want to take a look at delimiter in the string. The default\nis comma `,` so you don't need to do anything here. However, if you made\na change on delimiter setting, make sure the string will match. See\n[configuration](#configuration) for more about delimiter.\n\n```ruby\n@user.tag_list.add(\"awesome, slick\", parse: true)\n@user.tag_list.remove(\"awesome, slick\", parse: true)\n```\n\nYou can also add and remove tags by direct assignment. Note this will\nremove existing tags so use it with attention.\n\n```ruby\n@user.tag_list = \"awesome, slick, hefty\"\n@user.save\n@user.reload\n@user.tags\n=> [#\u003CActsAsTaggableOn::Tag id: 1, name: \"awesome\", taggings_count: 1>,\n #\u003CActsAsTaggableOn::Tag id: 2, name: \"slick\", taggings_count: 1>,\n #\u003CActsAsTaggableOn::Tag id: 3, name: \"hefty\", taggings_count: 1>]\n```\n\nWith the defined context in model, you have multiple new methods at disposal\nto manage and view the tags in the context. For example, with `:skill` context\nthese methods are added to the model: `skill_list`(and `skill_list.add`, `skill_list.remove`\n`skill_list=`), `skills`(plural), `skill_counts`.\n\n```ruby\n@user.skill_list = \"joking, clowning, boxing\"\n@user.save\n@user.reload\n@user.skills\n=> [#\u003CActsAsTaggableOn::Tag id: 1, name: \"joking\", taggings_count: 1>,\n #\u003CActsAsTaggableOn::Tag id: 2, name: \"clowning\", taggings_count: 1>,\n #\u003CActsAsTaggableOn::Tag id: 3, name: \"boxing\", taggings_count: 1>]\n\n@user.skill_list.add(\"coding\")\n\n@user.skill_list\n# => [\"joking\", \"clowning\", \"boxing\", \"coding\"]\n\n@another_user = User.new(:name => \"Alice\")\n@another_user.skill_list.add(\"clowning\")\n@another_user.save\n\nUser.skill_counts\n=> [#\u003CActsAsTaggableOn::Tag id: 1, name: \"joking\", taggings_count: 1>,\n #\u003CActsAsTaggableOn::Tag id: 2, name: \"clowning\", taggings_count: 2>,\n #\u003CActsAsTaggableOn::Tag id: 3, name: \"boxing\", taggings_count: 1>]\n```\n\nTo preserve the order in which tags are created use `acts_as_ordered_taggable`:\n\n```ruby\nclass User \u003C ActiveRecord::Base\n  # Alias for acts_as_ordered_taggable_on :tags\n  acts_as_ordered_taggable\n  acts_as_ordered_taggable_on :skills, :interests\nend\n\n@user = User.new(:name => \"Bobby\")\n@user.tag_list = \"east, south\"\n@user.save\n\n@user.tag_list = \"north, east, south, west\"\n@user.save\n\n@user.reload\n@user.tag_list # => [\"north\", \"east\", \"south\", \"west\"]\n```\n\n### Finding most or least used tags\n\nYou can find the most or least used tags by using:\n\n```ruby\nActsAsTaggableOn::Tag.most_used\nActsAsTaggableOn::Tag.least_used\n```\n\nYou can also filter the results by passing the method a limit, however the default limit is 20.\n\n```ruby\nActsAsTaggableOn::Tag.most_used(10)\nActsAsTaggableOn::Tag.least_used(10)\n```\n\n### Finding Tagged Objects\n\nActs As Taggable On uses scopes to create an association for tags.\nThis way you can mix and match to filter down your results.\n\n```ruby\nclass User \u003C ActiveRecord::Base\n  acts_as_taggable_on :tags, :skills\n  scope :by_join_date, order(\"created_at DESC\")\nend\n\nUser.tagged_with(\"awesome\").by_join_date\nUser.tagged_with(\"awesome\").by_join_date.paginate(:page => params[:page], :per_page => 20)\n\n# Find users that matches all given tags:\n# NOTE: This only matches users that have the exact set of specified tags. If a user has additional tags, they are not returned.\nUser.tagged_with([\"awesome\", \"cool\"], :match_all => true)\n\n# Find users with any of the specified tags:\nUser.tagged_with([\"awesome\", \"cool\"], :any => true)\n\n# Find users that have not been tagged with awesome or cool:\nUser.tagged_with([\"awesome\", \"cool\"], :exclude => true)\n\n# Find users with any of the tags based on context:\nUser.tagged_with(['awesome', 'cool'], :on => :tags, :any => true).tagged_with(['smart', 'shy'], :on => :skills, :any => true)\n\n# Find users tagged within a specific period:\n# (e.g. 2026-01-01 00:00 \u003C= taggings.created_at \u003C= 2026-02-01 00:00):\nUser.tagged_with('awesome', start_at: Time.new(2026, 1, 1), end_at: Time.new(2026, 2, 1))\n```\n\n#### Wildcard tag search\nYou now have the following options for prefix, suffix and containment search, along with `:any` or `:exclude` option.\nUse `wild: :suffix` to place a wildcard at the end of the tag. It will be looking for `awesome%` and `cool%` in SQL.\nUse `wild: :prefix` to place a wildcard at the beginning of the tag. It will be looking for `%awesome` and `%cool` in SQL.\nUse `wild: true` to place a wildcard both at the beginning and the end of the tag. It will be looking for `%awesome%` and `%cool%` in SQL.\n\n__Tip:__ `User.tagged_with([])` or `User.tagged_with('')` will return `[]`, an empty set of records.\n\n\n### Relationships\n\nYou can find objects of the same type based on similar tags on certain contexts.\nAlso, objects will be returned in descending order based on the total number of\nmatched tags.\n\n```ruby\n@bobby = User.find_by_name(\"Bobby\")\n@bobby.skill_list # => [\"jogging\", \"diving\"]\n\n@frankie = User.find_by_name(\"Frankie\")\n@frankie.skill_list # => [\"hacking\"]\n\n@tom = User.find_by_name(\"Tom\")\n@tom.skill_list # => [\"hacking\", \"jogging\", \"diving\"]\n\n@tom.find_related_skills # => [\u003CUser name=\"Bobby\">, \u003CUser name=\"Frankie\">]\n@bobby.find_related_skills # => [\u003CUser name=\"Tom\">]\n@frankie.find_related_skills # => [\u003CUser name=\"Tom\">]\n```\n\n### Dynamic Tag Contexts\n\nIn addition to the generated tag contexts in the definition, it is also possible\nto allow for dynamic tag contexts (this could be user generated tag contexts!)\n\n```ruby\n@user = User.new(:name => \"Bobby\")\n@user.set_tag_list_on(:customs, \"same, as, tag, list\")\n@user.tag_list_on(:customs) # => [\"same\", \"as\", \"tag\", \"list\"]\n@user.save\n@user.tags_on(:customs) # => [\u003CTag name='same'>,...]\n@user.tag_counts_on(:customs)\nUser.tagged_with(\"same\", :on => :customs) # => [@user]\n```\n\n### Finding tags based on context\n\nYou can find tags for a specific context by using the ```for_context``` scope:\n\n```ruby\nActsAsTaggableOn::Tag.for_context(:tags)\nActsAsTaggableOn::Tag.for_context(:skills)\n```\n\n### Tag Parsers\n\nIf you want to change how tags are parsed, you can define your own implementation:\n\n```ruby\nclass MyParser \u003C ActsAsTaggableOn::GenericParser\n  def parse\n    ActsAsTaggableOn::TagList.new.tap do |tag_list|\n      tag_list.add @tag_list.split('|')\n    end\n  end\nend\n```\n\nNow you can use this parser, passing it as parameter:\n\n```ruby\n@user = User.new(:name => \"Bobby\")\n@user.tag_list = \"east, south\"\n@user.tag_list.add(\"north|west\", parser: MyParser)\n@user.tag_list # => [\"north\", \"east\", \"south\", \"west\"]\n\n# Or also:\n@user.tag_list.parser = MyParser\n@user.tag_list.add(\"north|west\")\n@user.tag_list # => [\"north\", \"east\", \"south\", \"west\"]\n```\n\nOr change it globally:\n\n```ruby\nActsAsTaggableOn.default_parser = MyParser\n@user = User.new(:name => \"Bobby\")\n@user.tag_list = \"east|south\"\n@user.tag_list # => [\"east\", \"south\"]\n```\n\n### Tag Ownership\n\nTags can have owners:\n\n```ruby\nclass User \u003C ActiveRecord::Base\n  acts_as_tagger\nend\n\nclass Photo \u003C ActiveRecord::Base\n  acts_as_taggable_on :locations\nend\n\n@some_user.tag(@some_photo, :with => \"paris, normandy\", :on => :locations)\n@some_user.owned_taggings\n@some_user.owned_tags\nPhoto.tagged_with(\"paris\", :on => :locations, :owned_by => @some_user)\n@some_photo.locations_from(@some_user) # => [\"paris\", \"normandy\"]\n@some_photo.owner_tags_on(@some_user, :locations) # => [#\u003CActsAsTaggableOn::Tag id: 1, name: \"paris\">...]\n@some_photo.owner_tags_on(nil, :locations) # => Ownerships equivalent to saying @some_photo.locations\n@some_user.tag(@some_photo, :with => \"paris, normandy\", :on => :locations, :skip_save => true) #won't save @some_photo object\n```\n\n#### Working with Owned Tags\nNote that `tag_list` only returns tags whose taggings do not have an owner. Continuing from the above example:\n```ruby\n@some_photo.tag_list # => []\n```\nTo retrieve all tags of an object (regardless of ownership) or if only one owner can tag the object, use `all_tags_list`.\n\n##### Adding owned tags\nNote that **owned tags** are added all at once, in the form of ***comma separated tags*** in string.\nAlso, when you try to add **owned tags** again, it simply overwrites the previous set of **owned tags**.\nSo to append tags in previously existing **owned tags** list, go as follows:\n```ruby\ndef add_owned_tag\n    @some_item = Item.find(params[:id])\n    owned_tag_list = @some_item.all_tags_list - @some_item.tag_list\n    owned_tag_list += [(params[:tag])]\n    @tag_owner.tag(@some_item, :with => stringify(owned_tag_list), :on => :tags)\n    @some_item.save\nend\n\ndef stringify(tag_list)\n    tag_list.inject('') { |memo, tag| memo += (tag + ',') }[0..-1]\nend\n```\n##### Removing owned tags\nSimilarly as above, removing will be as follows:\n```ruby\ndef remove_owned_tag\n    @some_item = Item.find(params[:id])\n    owned_tag_list = @some_item.all_tags_list - @some_item.tag_list\n    owned_tag_list -= [(params[:tag])]\n    @tag_owner.tag(@some_item, :with => stringify(owned_tag_list), :on => :tags)\n    @some_item.save\nend\n```\n\n### Tag Tenancy\n\nTags support multi-tenancy. This is useful for applications where a Tag belongs to a scoped set of models:\n\n```ruby\nclass Account \u003C ActiveRecord::Base\n  has_many :photos\nend\n\nclass User \u003C ActiveRecord::Base\n  belongs_to :account\n  acts_as_taggable_on :tags\n  acts_as_taggable_tenant :account_id\nend\n\n@user1.tag_list = [\"foo\", \"bar\"] # these taggings will automatically have the tenant saved\n@user2.tag_list = [\"bar\", \"baz\"]\n\nActsAsTaggableOn::Tag.for_tenant(@user1.account.id) # returns Tag models for \"foo\" and \"bar\", but not \"baz\"\n```\n\n### Dirty objects\n\n```ruby\n@bobby = User.find_by_name(\"Bobby\")\n@bobby.skill_list # => [\"jogging\", \"diving\"]\n\n@bobby.skill_list_changed? #=> false\n@bobby.changes #=> {}\n\n@bobby.skill_list = \"swimming\"\n@bobby.changes.should == {\"skill_list\"=>[\"jogging, diving\", [\"swimming\"]]}\n@bobby.skill_list_changed? #=> true\n\n@bobby.skill_list_change.should == [\"jogging, diving\", [\"swimming\"]]\n```\n\n### Tag cloud calculations\n\nTo construct tag clouds, the frequency of each tag needs to be calculated.\nBecause we specified `acts_as_taggable_on` on the `User` class, we can\nget a calculation of all the tag counts by using `User.tag_counts_on(:customs)`. But what if we wanted a tag count for\na single user's posts? To achieve this we call tag_counts on the association:\n\n```ruby\nUser.find(:first).posts.tag_counts_on(:tags)\n```\n\nA helper is included to assist with generating tag clouds.\n\nHere is an example that generates a tag cloud.\n\nHelper:\n\n```ruby\nmodule PostsHelper\n  include ActsAsTaggableOn::TagsHelper\nend\n```\n\nController:\n\n```ruby\nclass PostController \u003C ApplicationController\n  def tag_cloud\n    @tags = Post.tag_counts_on(:tags)\n  end\nend\n```\n\nView:\n\n```erb\n\u003C% tag_cloud(@tags, %w(css1 css2 css3 css4)) do |tag, css_class| %>\n  \u003C%= link_to tag.name, { :action => :tag, :id => tag.name }, :class => css_class %>\n\u003C% end %>\n```\n\nCSS:\n\n```css\n.css1 { font-size: 1.0em; }\n.css2 { font-size: 1.2em; }\n.css3 { font-size: 1.4em; }\n.css4 { font-size: 1.6em; }\n```\n\n## Configuration\n\nIf you would like to remove unused tag objects after removing taggings, add:\n\n```ruby\nActsAsTaggableOn.remove_unused_tags = true\n```\n\nIf you want force tags to be saved downcased:\n\n```ruby\nActsAsTaggableOn.force_lowercase = true\n```\n\nIf you want tags to be saved parametrized (you can redefine to_param as well):\n\n```ruby\nActsAsTaggableOn.force_parameterize = true\n```\n\nIf you would like tags to be case-sensitive and not use LIKE queries for creation:\n\n```ruby\nActsAsTaggableOn.strict_case_match = true\n```\n\nIf you would like to have an exact match covering special characters with MySql:\n\n```ruby\nActsAsTaggableOn.force_binary_collation = true\n```\n\nIf you would like to specify table names:\n\n```ruby\nActsAsTaggableOn.tags_table = 'aato_tags'\nActsAsTaggableOn.taggings_table = 'aato_taggings'\n```\n\nIf you want to change the default delimiter (it defaults to ','). You can also pass in an array of delimiters such as ([',', '|']):\n\n```ruby\nActsAsTaggableOn.delimiter = ','\n```\n\n*NOTE 1: SQLite by default can't upcase or downcase multibyte characters, resulting in unwanted behavior. Load the SQLite ICU extension for proper handle of such characters. [See docs](http:\u002F\u002Fwww.sqlite.org\u002Fsrc\u002Fartifact?ci=trunk&filename=ext\u002Ficu\u002FREADME.txt)*\n\n*NOTE 2: the option `force_binary_collation` is strongest than `strict_case_match` and when\nset to true, the `strict_case_match` is ignored.\nTo roughly apply the `force_binary_collation` behaviour with a version of the gem \u003C= 3.4.4, execute the following commands in the MySql console:*\n\n```shell\nUSE my_wonderful_app_db;\nALTER TABLE tags MODIFY name VARCHAR(255) CHARACTER SET utf8 COLLATE utf8_bin;\n```\n\n#### Upgrading\n\nsee [UPGRADING](UPGRADING.md)\n\n## Contributors\n\nWe have a long list of valued contributors. [Check them all](https:\u002F\u002Fgithub.com\u002Fmbleigh\u002Facts-as-taggable-on\u002Fcontributors)\n\n## Compatibility\n\nVersions 2.x are compatible with Ruby 1.8.7+ and Rails 3.\n\nVersions 2.4.1 and up are compatible with Rails 4 too (thanks to arabonradar and cwoodcox).\n\nVersions >= 3.x are compatible with Ruby 1.9.3+ and Rails 3 and 4.\n\nVersions >= 4.x are compatible with Ruby 2.0.0+ and Rails 4 and 5.\n\nVersions >= 7.x are compatible with Ruby 2.3.7+ and Rails 5 and 6.\n\nVersions >= 8.x are compatible with Ruby 2.3.7+ and Rails 5 and 6.\n\nVersions >= 9.x are compatible with Ruby 2.5.0 and Rails 6 and 7.0.\n\nVersions >= 11.x are compatible with Ruby 3.1.0 and Rails 7.0 and 7.1.\n\nVersions >= 12.x are compatible with Ruby 3.2.0 and Rails 7.1, 7.2 and 8.0.\n\nFor an up-to-date roadmap, see https:\u002F\u002Fgithub.com\u002Fmbleigh\u002Facts-as-taggable-on\u002Fmilestones\n\n## Testing\n\nActs As Taggable On uses RSpec for its test coverage. Inside the gem\ndirectory, you can run the specs with:\n\n```shell\nbundle\nrake spec\n```\n\nYou can run all the tests across all the Rails versions by running `rake appraise`.\nIf you'd also like to [run the tests across all rubies and databases as configured for Github Actions, install and run `wwtd`](https:\u002F\u002Fgithub.com\u002Fgrosser\u002Fwwtd).\n\n\n## License\n\nSee [LICENSE](https:\u002F\u002Fgithub.com\u002Fmbleigh\u002Facts-as-taggable-on\u002Fblob\u002Fmaster\u002FLICENSE.md)\n","ActsAsTaggableOn 是一个针对 Rails 应用程序的标签插件，允许开发者在动态上下文中自定义标签。其核心功能包括支持多种标签上下文、查找最常用或最少使用的标签、以及根据标签检索对象等，这些都使得标签管理更加灵活多样。该插件使用 Ruby 语言开发，并且能够很好地与 MySQL 等数据库集成。适用于需要复杂标签系统支持的各种 Web 应用场景，如社交网络中为用户添加技能、兴趣等多种类型的标签；或者博客平台中对文章进行多维度分类等。项目遵循 MIT 许可证开放源代码，社区活跃，维护良好。",2,"2026-06-11 03:14:08","top_language"]