zumba/amplitude-php
A PHP client for Amplitude analytics that simplifies sending server-side events and user identification data to Amplitude's HTTP API. It offers a lightweight integration for Laravel and other PHP apps, with a simple API for tracking events and user properties.
Consider it when:
Look elsewhere when:
Adoption guardrails: pin the version, wrap it behind an internal analytics interface, add integration tests around payload shape, and confirm the release cadence and maintainer responsiveness before making it load-bearing.
For executives: This is a small, low-cost (MIT-licensed) integration that lets our backend send trusted product events to Amplitude. It improves the quality of the data behind roadmap and retention decisions — especially for revenue and subscription metrics that the front end cannot reliably report — without a bespoke engineering build. The main caveat is that it's a lightweight, low-adoption package, so we'll isolate it behind our own interface to avoid lock-in.
For engineering: It's a thin, actively released (Dec 2025) PHP client for Amplitude's API, installable via Composer and straightforward to wire into the Laravel service container. Because it's a wrapper rather than infrastructure, we'll encapsulate it behind an internal AnalyticsClient interface, pin the version, and cover event payloads with tests — so a vendor or package change is a one-class swap, not a refactor. It does not solve delivery guarantees or schema validation; those remain our responsibility.
How can I help you explore Laravel packages today?