spatie/laravel-tags
Some data may be outdated — see provenance labels.
Add tags and taggable behaviour to your Laravel app observed · 2026-09-29
Health v2 · maintenance only
85/100
- Activity 81
- Release rhythm 82
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.
- gap_med: 20.5
- age_days: 3653
- days_rel: 122
- days_push: 116
- n_releases_24m: 11
Adoption not part of the score
1746 stars · 283 forks observed · 2026-09-29
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Laravel package by Spatie that adds taggable behavior to Eloquent models via a HasTags trait. It supports attaching, detaching, and syncing tags, plus tag translations, multiple tag types, and sorting out of the box.
Use cases
- add tags to laravel eloquent models
- tag and categorize content in a laravel app
- retrieve models by tags in laravel
- translate tags for a multilingual laravel app
- manage multiple tag types like categories and topics
- sync tags on a model so only given tags remain
When to choose
- you're building a Laravel app and need tagging on Eloquent models
- you need tag translations or typed tag groups out of the box
- you want a well-maintained, widely used tagging solution
When to avoid
- your project isn't Laravel/PHP
- you only need simple string labels without a database-backed tag model
- you use another framework like Symfony or Rails
Facets
library · maturity stable
orm database web-development backend developer-tools php laravel eloquent tagging tags spatie multilingual web-server
3 sources
- readme: https://github.com/spatie/laravel-tags · fetched 2026-09-29 · 279abc26662f
- homepage: https://freek.dev/609-an-opinionated-tagging-package-for-laravel-apps · fetched 2026-08-29 · caecd05703a9
- site_page: https://freek.dev/about · fetched 2026-08-29 · e0ef9dccbb05
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| spatie/laravel-tags | main | 85 |
For agents
markdown · JSON · MCP: product_card(name="spatie/laravel-tags")
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem