I recently encountered the same issue and created a PHP class that simplifies using the blockchain wallet API. Using the API you can maintain a wallet, generate addresses, send money etc.
Take a look at the class on github
https://github.com/lukesims/Blockchain-Wallet-API-PHP-Class/It's as easy as
-SNIP-