rtconner / laravel-tagging

Tag support for Laravel Eloquent models - Taggable Trait
MIT License
882 stars 168 forks source link

Is there a feature to remove all unused tags? #51

Closed ziming closed 9 years ago

ziming commented 9 years ago

Hi, great package here. Is there a feature to remove all unused tags currently or planned?

Something like Tag::removeUnusedTags();

rtconner commented 9 years ago

I did plan on building this. So will be added hopefully soon. I just need to sit down and code out a bunch of updates.

devmark commented 9 years ago

thanks:)

rtconner commented 9 years ago

added config option 'delete_unused_tags' as well as method TaggingUtil::deleteUnusedTags() in version 1.1