Server-side Google Analytics
A historical PHP walkthrough of Universal Analytics Measurement Protocol, preserved with clear guidance to use the current GA4 protocol today.
Loading...
PHP notes from building and running real, long-lived production systems.
A historical PHP walkthrough of Universal Analytics Measurement Protocol, preserved with clear guidance to use the current GA4 protocol today.
A practical guide to application configuration: keep deploy-specific values out of code, parse and validate configuration at startup, make precedence explicit, and treat secrets as secrets.
Every developer has tasks that are impossible to be proud of and a little embarrassing to mention, because everything about them is bad.
PHP CLI can read environment variables directly, but PHP-FPM intentionally clears worker environments by default. Here is how to pass only the variables your application actually needs.
A PHP package for spreading static asset URLs across domains to work around per-host connection limits in HTTP/1.x.