spatie / laravel-tags

Add tags and taggable behaviour to your Laravel app
https://freek.dev/609-an-opinionated-tagging-package-for-laravel-apps
MIT License
1.62k stars 281 forks source link

Docs website shows docs for v3 only #497

Closed mokhosh closed 7 months ago

mokhosh commented 8 months ago

When I click on the docs link it takes me to docs for v3, and there is no way to see docs for v4.

I realized this when I struggled for a few minutes with the publish commands not working:

php artisan vendor:publish --provider="Spatie\Tags\TagsServiceProvider" --tag="migrations"

This doesn't work because the actual tag in v4 is tags-migrations.

inagamov commented 7 months ago

@mokhosh thank you! for all people that struggle with it just use these commands instead of the ones from the v3 docs:

php artisan vendor:publish --provider="Spatie\Tags\TagsServiceProvider" --tag="tags-migrations"

php artisan vendor:publish --provider="Spatie\Tags\TagsServiceProvider" --tag="tags-config"

inagamov commented 7 months ago

@freekmurze would be nice to know if docs for v4 are different in any other place like migration and config. thanks