andreaselia/analytics
andreaselia/analytics is a lightweight, privacy-friendly analytics package for Laravel. It tracks page views, unique visitors, referrers, browsers, devices, and countries in your own database, with a built-in dashboard for quick insights and no external service required.
Architecture fit
Integration feasibility
composer require, publish config/migrations, register middleware (global or route group), migrate, optionally schedule pruning. A single developer can produce a working spike in under a day.Technical risk
Key questions
Stack fit
Migration path
Compatibility
ETag handling.Sequencing recommendation Treat this as a product-analytics-lite decision, not a GA replacement. If the requirement is "traffic trends, top pages, referrers, device mix for an internal audience," it is a credible low-cost fit. If the requirement is experimentation, attribution, or revenue analytics, sequence this as a complement and keep a mature tool for the analytical layer.
Maintenance
Support
Scaling
Failure modes
Ramp-up
TPM verdict: Low-cost, architecturally clean, privacy-friendly fit for internal traffic analytics in a standard Laravel app, contingent on validating maintenance health and Laravel-version support. Do not position it as a GA replacement or as the system of record for product decisions; gate adoption on a parallel-run accuracy check, a queue-backed write path, and a named internal owner.
How can I help you explore Laravel packages today?