This is a self-contained PHP implementation of BitPay's new cryptographically secure API: https://test.bitpay.com/api