xetaio/xetaravel-counts
A Laravel package for adding countable relationships to Eloquent models. Track views, likes, or any custom counts on your records using simple traits and polymorphic relations, with helpers for incrementing, decrementing, and querying totals.
withCount/withSum. Evaluate that gap before committing.Consider adoption when:
withCount, withSum, and relationship counting.Look elsewhere or defer when:
For executives: This is a low-cost, low-surface-area utility package that has just been updated for Laravel 13. There is no licensing cost and no new feature to sell. The strategic value is limited but real: it reduces custom code and keeps a small piece of our stack aligned with the framework upgrade. The main risk is dependency coupling — adopting 3.0.0 effectively ties this package to our Laravel 13 timeline.
For engineering: Treat 3.0.0 as a compatibility release, not a feature release. It is a major version bump, so verify the supported Laravel/PHP matrix and review the diff before upgrading. If we are not on Laravel 13, stay on 2.x and track maintenance. If we are upgrading, bundle this into the Laravel 13 migration rather than scheduling it separately. Confirm the package still earns its place versus native Eloquent counting; if not, this is a reasonable moment to remove it.
How can I help you explore Laravel packages today?