spatie/laravel-tags
Add tags and taggable behaviour to your Laravel app
4.12.0
13M downloads/mo
#906 most downloaded on Packagist
spatie/laravel-tags
What this package is like to depend on
Last release 2 months ago
20 Jun 2026
Release timing varies
gaps range from 8 days to 7 months
Nearly every release is documented
notes for 77 of 84 stable releases
Nothing withdrawn
no release was ever pulled
10 years old
84 releases · first in 2016
4 releases in the last 12 months
see the full history below
Release timeline
84 releases · Oct 2016 to Jun 2026Releases
latest 60 of 84-
4.12.020 Jun 2026Release notes
Open source →What's Changed
- Bump dependabot/fetch-metadata from 2.5.0 to 3.0.0 by @dependabot[bot] in #556
- Bump dependabot/fetch-metadata from 3.0.0 to 3.1.0 by @dependabot[bot] in #559
- perf: remove n+1 by @nandi95 in #560
New Contributors
Full Changelog: 4.11.0...4.12.0
Release notes
Open source →What's Changed
- Bump dependabot/fetch-metadata from 2.5.0 to 3.0.0 by @dependabot[bot] in https://github.com/spatie/laravel-tags/pull/556
- Bump dependabot/fetch-metadata from 3.0.0 to 3.1.0 by @dependabot[bot] in https://github.com/spatie/laravel-tags/pull/559
- perf: remove n+1 by @nandi95 in https://github.com/spatie/laravel-tags/pull/560
New Contributors
- @nandi95 made their first contribution in https://github.com/spatie/laravel-tags/pull/560
Full Changelog: https://github.com/spatie/laravel-tags/compare/4.11.0...4.12.0
-
4.11.021 Feb 2026 -
4.10.213 Feb 2026Release notes
Open source →What's Changed
- Bump dependabot/fetch-metadata from 2.4.0 to 2.5.0 by @dependabot[bot] in #552
- Bump actions/checkout from 5 to 6 by @dependabot[bot] in #549
- Bump stefanzweifel/git-auto-commit-action from 6 to 7 by @dependabot[bot] in #548
- Add support for spatie/eloquent-sortable v5 by @lloricode in #553
Full Changelog: 4.10.1...4.10.2
Release notes
Open source →What's Changed
- Bump dependabot/fetch-metadata from 2.4.0 to 2.5.0 by @dependabot[bot] in https://github.com/spatie/laravel-tags/pull/552
- Bump actions/checkout from 5 to 6 by @dependabot[bot] in https://github.com/spatie/laravel-tags/pull/549
- Bump stefanzweifel/git-auto-commit-action from 6 to 7 by @dependabot[bot] in https://github.com/spatie/laravel-tags/pull/548
- Add support for spatie/eloquent-sortable v5 by @lloricode in https://github.com/spatie/laravel-tags/pull/553
Full Changelog: https://github.com/spatie/laravel-tags/compare/4.10.1...4.10.2
-
4.10.113 Oct 2025Release notes
Open source →What's Changed
- Bump dependabot/fetch-metadata from 2.3.0 to 2.4.0 by @dependabot[bot] in #538
- Update issue template by @AlexVanderbist in #544
- Update syncTagIds to public method by @mattbartel in #547
- Bump actions/checkout from 4 to 5 by @dependabot[bot] in #542
- Bump stefanzweifel/git-auto-commit-action from 5 to 6 by @dependabot[bot] in #539
New Contributors
- @mattbartel made their first contribution in #547
Full Changelog: 4.10.0...4.10.1
Release notes
Open source →What's Changed
- Bump dependabot/fetch-metadata from 2.3.0 to 2.4.0 by @dependabot[bot] in https://github.com/spatie/laravel-tags/pull/538
- Update issue template by @AlexVanderbist in https://github.com/spatie/laravel-tags/pull/544
- Update syncTagIds to public method by @mattbartel in https://github.com/spatie/laravel-tags/pull/547
- Bump actions/checkout from 4 to 5 by @dependabot[bot] in https://github.com/spatie/laravel-tags/pull/542
- Bump stefanzweifel/git-auto-commit-action from 5 to 6 by @dependabot[bot] in https://github.com/spatie/laravel-tags/pull/539
New Contributors
- @mattbartel made their first contribution in https://github.com/spatie/laravel-tags/pull/547
Full Changelog: https://github.com/spatie/laravel-tags/compare/4.10.0...4.10.1
-
4.10.008 Mar 2025Release notes
Open source →What's Changed
- Add Postgres support with tests by @neverything in #534
- Add withAnyTagsOfType scope by @voicecode-bv in #535
New Contributors
- @neverything made their first contribution in #534
- @voicecode-bv made their first contribution in #535
Full Changelog: 4.9.2...4.10.0
Release notes
Open source →What's Changed
- Add Postgres support with tests by @neverything in https://github.com/spatie/laravel-tags/pull/534
- Add withAnyTagsOfType scope by @voicecode-bv in https://github.com/spatie/laravel-tags/pull/535
New Contributors
- @neverything made their first contribution in https://github.com/spatie/laravel-tags/pull/534
- @voicecode-bv made their first contribution in https://github.com/spatie/laravel-tags/pull/535
Full Changelog: https://github.com/spatie/laravel-tags/compare/4.9.2...4.10.0
-
4.9.214 Feb 2025Release notes
Open source →Release notes
Open source →What's Changed
- 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
-
4.9.131 Jan 2025Release notes
Open source →What's Changed
- Added php syntax highlighting by @poldixd in #527
- Bump dependabot/fetch-metadata from 2.2.0 to 2.3.0 by @dependabot in #528
- Allow custom tag table name and primary key for scoped queries by @gtmassey in #529
New Contributors
Full Changelog: 4.9.0...4.9.1
Release notes
Open source →What's Changed
- Added php syntax highlighting by @poldixd in https://github.com/spatie/laravel-tags/pull/527
- Bump dependabot/fetch-metadata from 2.2.0 to 2.3.0 by @dependabot in https://github.com/spatie/laravel-tags/pull/528
- Allow custom tag table name and primary key for scoped queries by @gtmassey in https://github.com/spatie/laravel-tags/pull/529
New Contributors
- @poldixd made their first contribution in https://github.com/spatie/laravel-tags/pull/527
- @gtmassey made their first contribution in https://github.com/spatie/laravel-tags/pull/529
Full Changelog: https://github.com/spatie/laravel-tags/compare/4.9.0...4.9.1
-
4.9.006 Jan 2025Release notes
Open source →What's Changed
- fix implicit nullable type declaration PHP 8.4 by @l3aro in https://github.com/spatie/laravel-tags/pull/526
New Contributors
- @l3aro made their first contribution in https://github.com/spatie/laravel-tags/pull/526
Full Changelog: https://github.com/spatie/laravel-tags/compare/4.8.0...4.9.0
-
4.8.030 Dec 2024Release notes
Open source →What's Changed
- Fixes for HasTags.php - PHP 8.4 implicit nullable type declaration by @idealerror in #525
New Contributors
- @idealerror made their first contribution in #525
Full Changelog: 4.7.2...4.8.0
Release notes
Open source →What's Changed
- Fixes for HasTags.php - PHP 8.4 implicit nullable type declaration by @idealerror in https://github.com/spatie/laravel-tags/pull/525
New Contributors
- @idealerror made their first contribution in https://github.com/spatie/laravel-tags/pull/525
Full Changelog: https://github.com/spatie/laravel-tags/compare/4.7.2...4.8.0
-
4.7.209 Dec 2024Release notes
Open source →What's Changed
- Fix dynamic taggable table name by @xalunda in https://github.com/spatie/laravel-tags/pull/520
New Contributors
- @xalunda made their first contribution in https://github.com/spatie/laravel-tags/pull/520
Full Changelog: https://github.com/spatie/laravel-tags/compare/4.7.1...4.7.2
-
4.7.109 Dec 2024Release notes
Open source →What's Changed
- Update HasTags.php by @scramatte in https://github.com/spatie/laravel-tags/pull/523
New Contributors
- @scramatte made their first contribution in https://github.com/spatie/laravel-tags/pull/523
Full Changelog: https://github.com/spatie/laravel-tags/compare/4.7.0...4.7.1
-
4.7.003 Oct 2024Release notes
Open source →What's Changed
- docs: update the contents of the published config file by @alexrififi in https://github.com/spatie/laravel-tags/pull/506
- Fix Test Badge by @askdkc in https://github.com/spatie/laravel-tags/pull/510
- Fixed links to documentation pages by @sertxudev in https://github.com/spatie/laravel-tags/pull/512
- Bump dependabot/fetch-metadata from 1.6.0 to 2.1.0 by @dependabot in https://github.com/spatie/laravel-tags/pull/504
- Bump dependabot/fetch-metadata from 2.1.0 to 2.2.0 by @dependabot in https://github.com/spatie/laravel-tags/pull/515
- Added support for translation via JSON fields for PostgreSQL by @CheesyTech in https://github.com/spatie/laravel-tags/pull/509
- bugfix: fixes the syncWithType method to avoid deleting tags without … by @stanbridge-wcorrea in https://github.com/spatie/laravel-tags/pull/511
- Add "hasTag" method to check if the model has a certain tag by @jimmitjoo in https://github.com/spatie/laravel-tags/pull/517
- Document the
hasTagmethod by @AlexVanderbist in https://github.com/spatie/laravel-tags/pull/519
New Contributors
- @alexrififi made their first contribution in https://github.com/spatie/laravel-tags/pull/506
- @askdkc made their first contribution in https://github.com/spatie/laravel-tags/pull/510
- @sertxudev made their first contribution in https://github.com/spatie/laravel-tags/pull/512
- @CheesyTech made their first contribution in https://github.com/spatie/laravel-tags/pull/509
- @stanbridge-wcorrea made their first contribution in https://github.com/spatie/laravel-tags/pull/511
- @jimmitjoo made their first contribution in https://github.com/spatie/laravel-tags/pull/517
Full Changelog: https://github.com/spatie/laravel-tags/compare/4.6.1...4.7.0
-
4.6.101 Mar 2024Release notes
Open source →What's Changed
- 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
-
4.6.021 Feb 2024Release notes
Open source →What's Changed
- 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
-
4.5.219 Jan 2024Release notes
Open source →What's Changed
- Bump stefanzweifel/git-auto-commit-action from 4 to 5 by @dependabot in https://github.com/spatie/laravel-tags/pull/485
- Bump actions/checkout from 3 to 4 by @dependabot in https://github.com/spatie/laravel-tags/pull/480
- fix: set public visibility for findOrCreateFromString by @KnightYoshi in https://github.com/spatie/laravel-tags/pull/491
- fix: Fixing issue when using a different table to store pivot data by @jordanmiguel in https://github.com/spatie/laravel-tags/pull/492
New Contributors
- @KnightYoshi made their first contribution in https://github.com/spatie/laravel-tags/pull/491
- @jordanmiguel made their first contribution in https://github.com/spatie/laravel-tags/pull/492
Full Changelog: https://github.com/spatie/laravel-tags/compare/4.5.1...4.5.2
-
4.5.131 Jul 2023Release notes
Open source →What's Changed
- 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
-
4.5.020 Jul 2023Release notes
Open source →What's Changed
- Bump dependabot/fetch-metadata from 1.4.0 to 1.5.0 by @dependabot in https://github.com/spatie/laravel-tags/pull/461
- Bump dependabot/fetch-metadata from 1.5.0 to 1.5.1 by @dependabot in https://github.com/spatie/laravel-tags/pull/462
- Bump dependabot/fetch-metadata from 1.5.1 to 1.6.0 by @dependabot in https://github.com/spatie/laravel-tags/pull/466
- changed deleteTags to deleteTag where appropriate by @titonova in https://github.com/spatie/laravel-tags/pull/469
- Add the ability to configure a custom Taggables model class by @eggnaube in https://github.com/spatie/laravel-tags/pull/470
New Contributors
- @eggnaube made their first contribution in https://github.com/spatie/laravel-tags/pull/470
Full Changelog: https://github.com/spatie/laravel-tags/compare/4.4.0...4.5.0
-
4.4.016 May 2023Release notes
Open source →What's Changed
- Bump dependabot/fetch-metadata from 1.3.5 to 1.3.6 by @dependabot in https://github.com/spatie/laravel-tags/pull/444
- Bump dependabot/fetch-metadata from 1.3.6 to 1.4.0 by @dependabot in https://github.com/spatie/laravel-tags/pull/457
- Configable taggables morph table by @silnex in https://github.com/spatie/laravel-tags/pull/458
New Contributors
- @silnex made their first contribution in https://github.com/spatie/laravel-tags/pull/458
Full Changelog: https://github.com/spatie/laravel-tags/compare/4.3.7...4.4.0
-
4.3.725 Jan 2023Release notes
Open source →What's Changed
- Return slugs in find methods by @falconsmilie in https://github.com/spatie/laravel-tags/pull/443
New Contributors
- @falconsmilie made their first contribution in https://github.com/spatie/laravel-tags/pull/443
Full Changelog: https://github.com/spatie/laravel-tags/compare/4.3.6...4.3.7
-
4.3.624 Jan 2023Release notes
Open source →- support Laravel 10
What's Changed
- Add PHP 8.2 to tests workflow by @patinthehat in https://github.com/spatie/laravel-tags/pull/429
- Add Dependabot Automation by @patinthehat in https://github.com/spatie/laravel-tags/pull/430
- Match locale in example by @CaddyDz in https://github.com/spatie/laravel-tags/pull/435
- Bump actions/checkout from 2 to 3 by @dependabot in https://github.com/spatie/laravel-tags/pull/432
- Switch to anonymous migration and void return type for up method by @ziming in https://github.com/spatie/laravel-tags/pull/440
- Method for reversing migrations by @eimantaaas in https://github.com/spatie/laravel-tags/pull/442
New Contributors
- @CaddyDz made their first contribution in https://github.com/spatie/laravel-tags/pull/435
- @dependabot made their first contribution in https://github.com/spatie/laravel-tags/pull/432
- @ziming made their first contribution in https://github.com/spatie/laravel-tags/pull/440
- @eimantaaas made their first contribution in https://github.com/spatie/laravel-tags/pull/442
Full Changelog: https://github.com/spatie/laravel-tags/compare/4.3.5...4.3.6
-
4.3.519 Nov 2022Release notes
Open source →What's Changed
- Add without tags scope by @stfndamjanovic in https://github.com/spatie/laravel-tags/pull/428
New Contributors
- @stfndamjanovic made their first contribution in https://github.com/spatie/laravel-tags/pull/428
Full Changelog: https://github.com/spatie/laravel-tags/compare/4.3.4...4.3.5
-
4.3.417 Nov 2022Release notes
Open source →What's Changed
- change phpunit to pest testing framework by @uthadehikaru in https://github.com/spatie/laravel-tags/pull/423
- Fix typos in the docs by @ahmad-moussawi in https://github.com/spatie/laravel-tags/pull/425
- Fixed Collection support in syncTags function and added regression test by @zupolgec in https://github.com/spatie/laravel-tags/pull/427
New Contributors
- @uthadehikaru made their first contribution in https://github.com/spatie/laravel-tags/pull/423
- @ahmad-moussawi made their first contribution in https://github.com/spatie/laravel-tags/pull/425
Full Changelog: https://github.com/spatie/laravel-tags/compare/4.3.3...4.3.4
-
4.3.321 Oct 2022Release notes
Open source →What's Changed
- Added support for strings and corresponding tests by @zupolgec in https://github.com/spatie/laravel-tags/pull/395
New Contributors
- @zupolgec made their first contribution in https://github.com/spatie/laravel-tags/pull/395
Full Changelog: https://github.com/spatie/laravel-tags/compare/4.3.2...4.3.3
-
4.3.204 Jun 2022Release notes
Open source →What's Changed
- Added example of getting all the tags of a model by @titonova in https://github.com/spatie/laravel-tags/pull/394
- Update using-tags.md typo by changing "Find" to "find" by @jorgemurta in https://github.com/spatie/laravel-tags/pull/401
- readme: add example apply trait by @erlangparasu in https://github.com/spatie/laravel-tags/pull/403
- Update .gitattributes to decrease package installed size by @lakuapik in https://github.com/spatie/laravel-tags/pull/407
New Contributors
- @titonova made their first contribution in https://github.com/spatie/laravel-tags/pull/394
- @jorgemurta made their first contribution in https://github.com/spatie/laravel-tags/pull/401
- @erlangparasu made their first contribution in https://github.com/spatie/laravel-tags/pull/403
- @lakuapik made their first contribution in https://github.com/spatie/laravel-tags/pull/407
Full Changelog: https://github.com/spatie/laravel-tags/compare/4.3.1...4.3.2
-
4.3.108 Mar 2022Nothing published for this version
-
4.3.014 Jan 2022 -
4.2.124 Nov 2021Nothing published for this version
-
4.2.022 Nov 2021Nothing published for this version
-
4.1.017 Nov 2021Nothing published for this version
-
4.0.510 Nov 2021Nothing published for this version
-
4.0.401 Sep 2021 -
4.0.328 Apr 2021 -
4.0.207 Apr 2021 -
4.0.112 Mar 2021 -
4.0.009 Mar 2021 -
3.1.001 Mar 2021 -
3.0.229 Dec 2020 -
3.0.105 Nov 2020 -
3.0.009 Sep 2020 -
2.7.208 Sep 2020 -
2.7.125 Aug 2020 -
2.7.022 Aug 2020 -
2.6.228 May 2020 -
2.6.104 Mar 2020Nothing published for this version
-
2.6.003 Mar 2020 -
2.5.412 Feb 2020 -
2.5.307 Nov 2019 -
2.5.229 Oct 2019 -
2.5.108 Sep 2019 -
2.5.004 Sep 2019 -
2.4.517 Jul 2019 -
2.4.417 Apr 2019 -
2.4.310 Apr 2019 -
2.4.210 Apr 2019 -
2.4.106 Mar 2019 -
2.3.027 Feb 2019Release notes
Open source →- drop support for Laravel 5.7 and below
- drop support for PHP 7.1 and below
-
2.2.227 Feb 2019 -
2.2.119 Jan 2019 -
2.2.021 Dec 2018 -
2.1.620 Dec 2018