Blockchain for Laravelists! Create & manage wallets, send funds and generate payment gateways.
A fully-featured API to make use of Blockchain.info API.
Just add the package to your composer.json
And then run in your Laravel root directory
Open up app/config/app.php and under $providers array() register the package provider
This will also register the facade for you to use, for example
If you're going to create wallets, and send funds using this package, you need to register an API key from Blockchain.info or you'll get rejected.
You can request an API Key at Blockchain.info (Usually takes a day or two)
To create wallets you'll need an API key, yes or yes.
Blockchain::createWallet('MAIN PASSWORD', 'PRIVATE KEY', 'LABEL', 'EMAIL ADDRESS')
Only Main Password is mandatory, you can ommit the rest if you want.
You can use any function in the documentation with the exact same name, so for example I could do
If you want to use any function which requires a parameter, just send it in the function, for example:
You can look at all the available charts over here The URL slug for the chart is needed here.
Just use the total-bitcoins part. All charts are available.
Returns all Blockchain statistics
- USD (by default)