pianosolo/counter-bundle
pianosolo/counter-bundle provides a simple counter abstraction for PHP applications, letting you increment, decrement, and read counts through a clean API. Use it to track views, downloads, or other metrics with minimal setup and reusable, testable counter logic.
prePersist and preUpdate. This is an additive release; no breaking changes are indicated.prePersist/preUpdate.prePersist set the initial fake count, and preUpdate refresh it when the entity changes.local/testing, and keep it disabled in production paths.preUpdate can overwrite legitimate counter changes. Keep fake counts disabled outside non-production environments and guard real counter update flows.How can I help you explore Laravel packages today?