Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Laravel Tags Laravel Package

spatie/laravel-tags

Add flexible tagging to Laravel Eloquent models with the HasTags trait. Create, attach, detach, and query tags with ease, with built-in support for tag types, translations, and sorting—ideal for organizing content across your app.

View on GitHub
Deep Wiki
Context7
4.11.0

What's Changed

  • Add Laravel 13 support
4.10.2

What's Changed

Full Changelog: https://github.com/spatie/laravel-tags/compare/4.10.1...4.10.2

4.10.1

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/laravel-tags/compare/4.10.0...4.10.1

4.10.0
4.9.1

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/laravel-tags/compare/4.9.0...4.9.1

4.9.0

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/laravel-tags/compare/4.8.0...4.9.0

4.8.0

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/laravel-tags/compare/4.7.2...4.8.0

4.7.2

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/laravel-tags/compare/4.7.1...4.7.2

4.7.1
4.7.0

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/laravel-tags/compare/4.6.1...4.7.0

4.5.2

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/laravel-tags/compare/4.5.1...4.5.2

4.5.1

What's Changed

Full Changelog: https://github.com/spatie/laravel-tags/compare/4.5.0...4.5.1

4.5.0

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/laravel-tags/compare/4.4.0...4.5.0

4.4.0

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/laravel-tags/compare/4.3.7...4.4.0

4.3.7

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/laravel-tags/compare/4.3.6...4.3.7

4.3.6
  • support Laravel 10

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/laravel-tags/compare/4.3.5...4.3.6

4.3.4

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/laravel-tags/compare/4.3.3...4.3.4

4.3.3

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/laravel-tags/compare/4.3.2...4.3.3

4.3.2

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/laravel-tags/compare/4.3.1...4.3.2

4.3.1
4.3.0
  • allow Laravel 9
4.2.1
4.2.0
4.1.0
4.0.5
4.0.4
  • get the tag model table name when syncing tags (#351)
4.0.3
  • allow eloquent-sortable v4
4.0.2
  • update deps
4.0.1
  • fix translatable attributes (#300)
4.0.0
  • drop support for all PHP versions below 8.0
3.1.0

-add tag_model config variable (#301)

3.0.2
  • Get all registered tag types (#296)
3.0.1
  • add support for PHP 8
3.0.0
  • drop support for anything below Laravel 8
  • add HasFactory to tags model.
2.7.2
  • add support for Laravel 8
2.7.1
  • avoid duplicate error on syncTagsWithType (#274)
2.7.0
  • allow specifying type when using attachTags() or detachTags() (#273)
2.6.2
  • change mutator behaviour: use sync instead of attach (#260)
2.6.0
  • add support for Laravel 7
2.5.4
  • make sure each tag is unique on the database level (#251)
2.5.3
  • use morphs in migration
2.5.2
  • findOrCreateFromString can now be overloaded (#231)
2.5.1
  • make scopeContaining compatible with Postgresql
2.5.0
  • add support for Laravel 6
2.4.5
  • fix scopeWithAllTags* scopes
2.4.4
  • use ordered() scope to determine order column name (#193)
2.4.3
  • fix str_slug being deprecated
2.4.2
  • added ability to work with multibyte charset
2.4.1
  • performance enhanchements
2.4.0
  • add tagsTranslated
2.3.0
  • drop support for Laravel 5.7 and below
  • drop support for PHP 7.1 and below
2.2.2
  • add support for Laravel 5.8
2.2.1
  • use morph map name for taggable_type if it exists
2.2.0
  • addscopeWithAllTagsOfAnyType and scopeWithAnyTagsOfAnyType
2.1.6
  • update deps
2.1.5
  • fix for locales with hypens in their name
2.1.4
  • use getTable() instead of $table in the scope
2.1.2
  • add support for laravel-translatable v3
2.1.1
  • improve performance
2.1.0
  • add containing scope
2.0.2
  • add L5.7 compatibility
2.0.1
  • add L5.6 compatibility
2.1.3
  • fix for withAnyTags
2.0.0
  • added compatiblity with Laravel 5.5, dropped support for all older versions
  • renamed config file from laravel-tags to tags
1.4.1
  • deleting a model with tags will now delete related records in the taggables table
1.4.0
  • add syncWithType
1.3.5
  • allow the name of a tag to be set by changing the name property
1.3.4
  • fix bug where the same tag would be created multiple times
1.3.3
  • removed typehint from HasTags::convertToTags to allow and instance of Tag to be passed in
1.2.0
  • the withAllTags and withAnyTags scopes now optionally accept a type
1.1.1
  • fix bug where a custom tag model would not be used in tags()
1.1.0
  • The function that determines the value of the slug can now be modified in the config file
1.0.2
  • fixed bug in attachTag where using a Tag model would be converted to a string
1.0.1
  • fix migration path in service provider
1.0.0
  • initial release
1.3.2
  • remove classmap from composer.json
1.3.1

THIS VERSION IS BROKEN, DO NOT USE

  • fix missings deps
1.3.0

THIS VERSION IS BROKEN, DO NOT USE

  • add compatibility with Laravel 5.4
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport