This is a PHP wrapper for the BrowserMob Proxy. It is currently just the client-side of things as I haven't found a cross-platform solution for controlling the server yet (in PHP) that I like. It is strongly suggested that you use something like Puppet to make sure that it is installed and running.
This driver has been packaged for distribution via PEAR. So...
pear channel-discover element-34.github.com/pear pear install -f element-34/PHPBrowserMobProxy
See The tests