tchoulom/view-counter-bundle
A Symfony bundle for counting and tracking page or entity views. It records each visit, stores statistics in Doctrine, and lets you display total view counts and popularity metrics with simple Twig helpers and configurable counters.
Reasonable to consider when:
Look elsewhere when:
To executives: This is a small, free, MIT-licensed community component for counting content views in Symfony applications. It is not a strategic investment — adoption is thin (roughly 15 stars, no known dependents), so putting it on a critical path would create avoidable maintenance and supply-chain exposure. Recommendation: do not adopt it as a dependency. Instead, use it as a reference design and build a small internal view-counter module (or lean on existing analytics tooling) — roughly one to two sprints, fully under our control, with no lock-in. Cost is low either way; the decision is about ownership, not spend.
To engineering: The bundle demonstrates a clean pattern — entity view tracking with IP/session/user deduplication and periodic stat rollups. We can reproduce the useful 20% (counter service, uniqueness keys, daily rollups) with our own schema and caching, add queue-based writes so view traffic never touches the request path, and avoid inheriting an unmaintained dependency. Note the framework mismatch: it is a Symfony bundle, so a Laravel codebase gains the design, not the code. If we were a Symfony shop with a trivial need, a fork-and-pin would be acceptable — but only with a version pin and a documented exit plan.
How can I help you explore Laravel packages today?