roundly-consulting/tags-for-laravel
Add tags to any Eloquent model in Laravel. Attach, detach, and query tags through a simple, expressive API, with polymorphic relationships so posts, users, or any other model can be tagged and filtered with ease.
GET tags/{type}/popular?on= so counts respect the model’s global scopes. This directly supports product decisions about exposing popularity/trending tag data in tenant-scoped or soft-deleted environments without leaking counts across tenants or including deleted records.Consider adopting this package when:
Look elsewhere or plan custom work when:
For executives: This release is a correctness and trust fix for tag popularity data. It ensures popular-tag counts only include records the application is allowed to see, excluding soft-deleted and other-tenant records. That reduces the risk of leaking tenant activity or reporting inflated engagement in multi-tenant and compliance-sensitive products. It is not a new feature, but it makes existing tagging/discovery functionality safer to ship.
For engineering: Version 1.0.2 fixes the GET tags/{type}/popular?on= endpoint to respect the model’s global scopes when counting records. This aligns package behavior with Laravel’s scoping model, including soft deletes and tenant constraints. Engineering should verify that relevant models define global scopes correctly, add regression tests for tenant/soft-delete popularity counts, and avoid bypassing scopes unless intentionally required. No breaking API change is indicated.
How can I help you explore Laravel packages today?