PHP libraries implementing bitcoin key functions, as well as BIP32 and electrum.