php-timer is a tiny utility library that provides high-resolution timing for PHP scripts, originating from the PHPUnit ecosystem. It wraps PHP’s underlying timing functions to give consistent start/stop measurements even across different PHP versions and environments. The library’s API is intentionally small so you can drop it into tests, benchmarks, and command-line tools without overhead.