Most 3rd party providers also provide api wrappers.
check out https://github.com/blockchain/api-v1-client-php or https://github.com/coinbase/coinbase-php
check out https://github.com/blockchain/api-v1-client-php or https://github.com/coinbase/coinbase-php
Thank you, this will really help.