PackageTrack
Sign in Get early access

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 2026
2017 2018 2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 60 of 84
  1. 4.12.0 20 Jun 2026
    Release notes

    What's Changed

    New Contributors

    Full Changelog: 4.11.0...4.12.0

    Open source →
    Release notes

    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

    Open source →
  2. 4.11.0 21 Feb 2026
    Release notes

    What's Changed

    • Add Laravel 13 support
    Open source →
    Release notes

    What's Changed

    • Add Laravel 13 support
    Open source →
  3. 4.10.2 13 Feb 2026
    Release notes

    What's Changed

    Full Changelog: 4.10.1...4.10.2

    Open source →
    Release notes

    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

    Open source →
  4. 4.10.1 13 Oct 2025
    Release notes

    What's Changed

    New Contributors

    Full Changelog: 4.10.0...4.10.1

    Open source →
    Release notes

    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

    Open source →
  5. 4.10.0 08 Mar 2025
    Release notes

    What's Changed

    New Contributors

    Full Changelog: 4.9.2...4.10.0

    Open source →
    Release notes

    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

    Open source →
  6. 4.9.2 14 Feb 2025
    Release notes

    What's Changed

    Full Changelog: 4.9.1...4.9.2

    Open source →
    Release notes

    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

    Open source →
  7. 4.9.1 31 Jan 2025
    Release notes

    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

    Open source →
    Release notes

    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

    Open source →
  8. 4.9.0 06 Jan 2025
    Release notes

    What's Changed

    • fix implicit nullable type declaration PHP 8.4 by @l3aro in #526

    New Contributors

    Full Changelog: 4.8.0...4.9.0

    Open source →
    Release notes

    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

    Open source →
  9. 4.8.0 30 Dec 2024
    Release notes

    What's Changed

    • Fixes for HasTags.php - PHP 8.4 implicit nullable type declaration by @idealerror in #525

    New Contributors

    Full Changelog: 4.7.2...4.8.0

    Open source →
    Release notes

    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

    Open source →
  10. 4.7.2 09 Dec 2024
    Release notes

    What's Changed

    New Contributors

    Full Changelog: 4.7.1...4.7.2

    Open source →
    Release notes

    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

    Open source →
  11. 4.7.1 09 Dec 2024
    Release notes

    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

    Open source →
  12. 4.7.0 03 Oct 2024
    Release notes

    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 hasTag method 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

    Open source →
  13. 4.6.1 01 Mar 2024
    Release notes

    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

    Open source →
  14. 4.6.0 21 Feb 2024
    Release notes

    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

    Open source →
  15. 4.5.2 19 Jan 2024
    Release notes

    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

    Open source →
  16. 4.5.1 31 Jul 2023
    Release notes

    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

    Open source →
  17. 4.5.0 20 Jul 2023
    Release notes

    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

    Open source →
  18. 4.4.0 16 May 2023
    Release notes

    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

    Open source →
  19. 4.3.7 25 Jan 2023
    Release notes

    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

    Open source →
  20. 4.3.6 24 Jan 2023
    Release notes
    • 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

    Open source →
  21. 4.3.5 19 Nov 2022
    Release notes

    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

    Open source →
  22. 4.3.4 17 Nov 2022
    Release notes

    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

    Open source →
  23. 4.3.3 21 Oct 2022
    Release notes

    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

    Open source →
  24. 4.3.2 04 Jun 2022
    Release notes

    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

    Open source →
  25. 4.3.1 08 Mar 2022

    Nothing published for this version

  26. 4.3.0 14 Jan 2022
    Release notes
    • allow Laravel 9
    Open source →
  27. 4.2.1 24 Nov 2021

    Nothing published for this version

  28. 4.2.0 22 Nov 2021

    Nothing published for this version

  29. 4.1.0 17 Nov 2021

    Nothing published for this version

  30. 4.0.5 10 Nov 2021

    Nothing published for this version

  31. 4.0.4 01 Sep 2021
    Release notes
    • get the tag model table name when syncing tags (#351)
    Open source →
  32. 4.0.3 28 Apr 2021
    Release notes
    • allow eloquent-sortable v4
    Open source →
  33. 4.0.2 07 Apr 2021
    Release notes
    • update deps
    Open source →
  34. 4.0.1 12 Mar 2021
    Release notes
    • fix translatable attributes (#300)
    Open source →
  35. 4.0.0 09 Mar 2021
    Release notes
    • drop support for all PHP versions below 8.0
    Open source →
  36. 3.1.0 01 Mar 2021
    Release notes

    -add tag_model config variable (#301)

    Open source →
  37. 3.0.2 29 Dec 2020
    Release notes
    • Get all registered tag types (#296)
    Open source →
  38. 3.0.1 05 Nov 2020
    Release notes
    • add support for PHP 8
    Open source →
  39. 3.0.0 09 Sep 2020
    Release notes
    • drop support for anything below Laravel 8
    • add HasFactory to tags model.
    Open source →
  40. 2.7.2 08 Sep 2020
    Release notes
    • add support for Laravel 8
    Open source →
  41. 2.7.1 25 Aug 2020
    Release notes
    • avoid duplicate error on syncTagsWithType (#274)
    Open source →
  42. 2.7.0 22 Aug 2020
    Release notes
    • allow specifying type when using attachTags() or detachTags() (#273)
    Open source →
  43. 2.6.2 28 May 2020
    Release notes
    • change mutator behaviour: use sync instead of attach (#260)
    Open source →
  44. 2.6.1 04 Mar 2020

    Nothing published for this version

  45. 2.6.0 03 Mar 2020
    Release notes
    • add support for Laravel 7
    Open source →
  46. 2.5.4 12 Feb 2020
    Release notes
    • make sure each tag is unique on the database level (#251)
    Open source →
  47. 2.5.3 07 Nov 2019
    Release notes
    • use morphs in migration
    Open source →
  48. 2.5.2 29 Oct 2019
    Release notes
    • findOrCreateFromString can now be overloaded (#231)
    Open source →
  49. 2.5.1 08 Sep 2019
    Release notes
    • make scopeContaining compatible with Postgresql
    Open source →
  50. 2.5.0 04 Sep 2019
    Release notes
    • add support for Laravel 6
    Open source →
  51. 2.4.5 17 Jul 2019
    Release notes
    • fix scopeWithAllTags* scopes
    Open source →
  52. 2.4.4 17 Apr 2019
    Release notes
    • use ordered() scope to determine order column name (#193)
    Open source →
  53. 2.4.3 10 Apr 2019
    Release notes
    • fix str_slug being deprecated
    Open source →
  54. 2.4.2 10 Apr 2019
    Release notes
    • added ability to work with multibyte charset
    Open source →
  55. 2.4.1 06 Mar 2019
    Release notes
    • performance enhanchements
    Open source →
  56. 2.3.0 27 Feb 2019
    Release notes
    • drop support for Laravel 5.7 and below
    • drop support for PHP 7.1 and below
    Open source →
  57. 2.2.2 27 Feb 2019
    Release notes
    • add support for Laravel 5.8
    Open source →
  58. 2.2.1 19 Jan 2019
    Release notes
    • use morph map name for taggable_type if it exists
    Open source →
  59. 2.2.0 21 Dec 2018
    Release notes
    • addscopeWithAllTagsOfAnyType and scopeWithAnyTagsOfAnyType
    Open source →
  60. 2.1.6 20 Dec 2018
    Release notes
    • update deps
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive