NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist
Packagist, #913 most downloaded on Packagist
Add tags and taggable behaviour to your Laravel app
Latest stable
4.12.0
Last release 5 months ago
20 Jun 2026
Release timing varies
gaps range from 8 days to 7 months
Nearly every release is documented
notes for 59 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
10 years old
84 releases · first in 2016
Drag across the ruler to compare, or tap a release to open it.
Bump dependabot/fetch-metadata from 2.5.0 to 3.0.0 by @dependabot[bot] in https://github.com/spatie/laravel-tags/pull/556
Full Changelog: https://github.com/spatie/laravel-tags/compare/4.11.0...4.12.0
## What's Changed - Add Laravel 13 support
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Bump dependabot/fetch-metadata from 2.4.0 to 2.5.0 by @dependabot[bot] in https://github.com/spatie/laravel-tags/pull/552
Full Changelog: https://github.com/spatie/laravel-tags/compare/4.10.1...4.10.2
Bump dependabot/fetch-metadata from 2.3.0 to 2.4.0 by @dependabot[bot] in https://github.com/spatie/laravel-tags/pull/538
Full Changelog: https://github.com/spatie/laravel-tags/compare/4.10.0...4.10.1
Add Postgres support with tests by @neverything in https://github.com/spatie/laravel-tags/pull/534
Full Changelog: https://github.com/spatie/laravel-tags/compare/4.9.2...4.10.0
Laravel 12 support by @poldixd in https://github.com/spatie/laravel-tags/pull/531
Full Changelog: https://github.com/spatie/laravel-tags/compare/4.9.1...4.9.2
Added php syntax highlighting by @poldixd in https://github.com/spatie/laravel-tags/pull/527
Full Changelog: https://github.com/spatie/laravel-tags/compare/4.9.0...4.9.1
fix implicit nullable type declaration PHP 8.4 by @l3aro in https://github.com/spatie/laravel-tags/pull/526
Full Changelog: https://github.com/spatie/laravel-tags/compare/4.8.0...4.9.0
Fixes for HasTags.php - PHP 8.4 implicit nullable type declaration by @idealerror in https://github.com/spatie/laravel-tags/pull/525
Full Changelog: https://github.com/spatie/laravel-tags/compare/4.7.2...4.8.0
Fix dynamic taggable table name by @xalunda in https://github.com/spatie/laravel-tags/pull/520
Full Changelog: https://github.com/spatie/laravel-tags/compare/4.7.1...4.7.2
Update HasTags.php by @scramatte in https://github.com/spatie/laravel-tags/pull/523
Full Changelog: https://github.com/spatie/laravel-tags/compare/4.7.0...4.7.1
docs: update the contents of the published config file by @alexrififi in https://github.com/spatie/laravel-tags/pull/506
hasTag method by @AlexVanderbist in https://github.com/spatie/laravel-tags/pull/519Full Changelog: https://github.com/spatie/laravel-tags/compare/4.6.1...4.7.0
Allow Carbon v3 by @mokhosh in https://github.com/spatie/laravel-tags/pull/496
Full Changelog: https://github.com/spatie/laravel-tags/compare/4.6.0...4.6.1
Add laravel 11 support by @mokhosh in https://github.com/spatie/laravel-tags/pull/493
Full Changelog: https://github.com/spatie/laravel-tags/compare/4.5.2...4.6.0
Bump stefanzweifel/git-auto-commit-action from 4 to 5 by @dependabot in https://github.com/spatie/laravel-tags/pull/485
Full Changelog: https://github.com/spatie/laravel-tags/compare/4.5.1...4.5.2
Define class MorphPivot as default for the 'tags.taggable.class_name' config getter. by @eggnaube in https://github.com/spatie/laravel-tags/pull/476
Full Changelog: https://github.com/spatie/laravel-tags/compare/4.5.0...4.5.1
Bump dependabot/fetch-metadata from 1.4.0 to 1.5.0 by @dependabot in https://github.com/spatie/laravel-tags/pull/461
Full Changelog: https://github.com/spatie/laravel-tags/compare/4.4.0...4.5.0
Bump dependabot/fetch-metadata from 1.3.5 to 1.3.6 by @dependabot in https://github.com/spatie/laravel-tags/pull/444
Full Changelog: https://github.com/spatie/laravel-tags/compare/4.3.7...4.4.0
Return slugs in find methods by @falconsmilie in https://github.com/spatie/laravel-tags/pull/443
Full Changelog: https://github.com/spatie/laravel-tags/compare/4.3.6...4.3.7
Add PHP 8.2 to tests workflow by @patinthehat in https://github.com/spatie/laravel-tags/pull/429
Full Changelog: https://github.com/spatie/laravel-tags/compare/4.3.5...4.3.6
Add without tags scope by @stfndamjanovic in https://github.com/spatie/laravel-tags/pull/428
Full Changelog: https://github.com/spatie/laravel-tags/compare/4.3.4...4.3.5
change phpunit to pest testing framework by @uthadehikaru in https://github.com/spatie/laravel-tags/pull/423
Full Changelog: https://github.com/spatie/laravel-tags/compare/4.3.3...4.3.4
Added support for strings and corresponding tests by @zupolgec in https://github.com/spatie/laravel-tags/pull/395
Full Changelog: https://github.com/spatie/laravel-tags/compare/4.3.2...4.3.3
Added example of getting all the tags of a model by @titonova in https://github.com/spatie/laravel-tags/pull/394
Full Changelog: https://github.com/spatie/laravel-tags/compare/4.3.1...4.3.2
Fix BadMethodCallException caused by attach() by @umairparacha00 in https://github.com/spatie/laravel-tags/pull/389
phpunit.xml file by default by @markwalet in https://github.com/spatie/laravel-tags/pull/362Full Changelog: https://github.com/spatie/laravel-tags/compare/4.3.0...4.3.1
- allow Laravel 9
enable and fix test by @delta1186 in https://github.com/spatie/laravel-tags/pull/373
Full Changelog: https://github.com/spatie/laravel-tags/compare/4.2.0...4.2.1
Make convertToTags() method $values arg support Tag instance by @chuoke in https://github.com/spatie/laravel-tags/pull/371
Full Changelog: https://github.com/spatie/laravel-tags/compare/4.1.0...4.2.0
Adding a static function for current locale to the tag by @leonidlezner in https://github.com/spatie/laravel-tags/pull/368
Full Changelog: https://github.com/spatie/laravel-tags/compare/4.0.5...4.1.0
PHP 8.1 Support by @sergiy-petrov in https://github.com/spatie/laravel-tags/pull/361
Full Changelog: https://github.com/spatie/laravel-tags/compare/4.0.4...4.0.5
get the tag model table name when syncing tags
- allow eloquent-sortable v4
- update deps
- fix translatable attributes
drop support for PHP 7 and older Laravel versions
-add tag_model config variable
-add tag_model config variable (#301)
Get all registered tag types
Get all registered tag types (#296)
- add support for PHP 8
drop support for anything below Laravel 8
HasFactory to tags model.- add support for Laravel 8
avoid duplicate error on syncTagsWithType
allow specifying type when using attachTags() or detachTags()
attachTags() or detachTags() (#273)change mutator behaviour: use sync instead of attach
Nothing published for this version
- add support for Laravel 7
make sure each tag is unique on the database level
- use morphs in migration
morphs in migrationfindOrCreateFromString can now be overloaded
findOrCreateFromString can now be overloaded (#231)make scopeContaining compatible with Postgresql
scopeContaining compatible with Postgresql- add support for Laravel 6
- fix scopeWithAllTags* scopes
scopeWithAllTags* scopesuse ordered() scope to determine order column name
ordered() scope to determine order column name (#193)- fix str_slug being deprecated
str_slug being deprecatedadded ability to work with multibyte charset
- performance enhanchements
drop support for Laravel 5.7 and below
- add support for Laravel 5.8
use morph map name for taggable_type if it exists
addscopeWithAllTagsOfAnyType and scopeWithAnyTagsOfAnyType
scopeWithAllTagsOfAnyType and scopeWithAnyTagsOfAnyType- update deps
One column per quarter.