spatie/laravel-tags
Add tags and taggable behaviour to your Laravel app observed · 2026-08-28
Health v2 · maintenance only
91/100
- Activity 89
- Release rhythm 89
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 21
- age_days: 3605
- days_rel: 74
- days_push: 68
- n_releases_24m: 12
Adoption not part of the score
1748 stars · 283 forks observed · 2026-08-28
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-08-28 · 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 | 91 |
For agents
markdown · JSON · MCP: product_card(name="spatie/laravel-tags")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem