spatie/analytics-reports
Abandoned Laravel 4 package by Spatie to retrieve Google Analytics data via service provider/facade. Includes config publishing and depends on google/apiclient and thujohn/analytics. For Laravel 5+, use spatie/laravel-analytics.
For Executives: "This abandoned Laravel 4 package offers a free, MIT-licensed way to pull Google Analytics (Universal Analytics) data into our legacy system with minimal upfront cost. While not ideal for long-term use, it could serve as a stopgap for historical reporting needs or quick prototyping—though we’d need to weigh the risks of using unsupported software. Alternatives like forking the code or migrating to modern GA APIs should be explored for production use."
For Engineering:
"The spatie/analytics-reports package provides a simple, opinionated wrapper for Google Analytics (UA) in Laravel 4, but it’s abandoned and lacks GA4 support. If we’re stuck on Laravel 4 and need basic GA data, we could fork it and maintain it ourselves. However, for new projects or Laravel 5+, we should use spatie/laravel-analytics or Google’s official API. Key trade-offs: low initial effort vs. long-term maintenance risk."
How can I help you explore Laravel packages today?