Download the PHP package xtodx/coinremitter without Composer
On this page you can find all versions of the php package xtodx/coinremitter. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download xtodx/coinremitter
More information about xtodx/coinremitter
Files in xtodx/coinremitter
Package coinremitter
Short Description this is for direct use of apis of coinremitter into laravel
License MIT
Informations about the package coinremitter
coinremitter-laravel
Coinremitter plugin for laravel upper 5.2
installation guide.
you can install coin remitter plugin using composer in laraval :
Register service provider to your config/app.php like below :
Add line at bottom in array
Publish configuration file to config folder using following command:
Set credentials of all coins which you want to use from coinremitter in config/coinremitter.php like :
If this file not exist then create and set configuration like this. How to get API key and Password ?
Usage of library :
you have to include namespace of package wherever you want to use this library like,
after using name space you can access all the methods of library by creating object of class like,
here "BTC" must be in config/coinremitter.php file array.
Get Balance :
you can get balance of your wallet using get_balance call.
this will return either success response or error response if something went wrong.like below is the success response :
Create New Wallet Address
You can get new wallet address using folowing method:
success response :
also you can assign lable to your address with passing parameter to get_new_address method like:
the response will add given label at label key.
Validate wallet address
for validation wallet address use folowing method:
response :
withdraw amount
to withdraw amount to specific address following method will use :
success response :
Get Transaction
get transaction detail using id received from response's or from webhook's field using following method :
success response :
if reponse data object contains is equal to then response will be given as below
Create Invoice
you can create invoice using following method :
success response :
Get Invoice
get invoice detail using invoice_id received using following method :
success response :
Get Live Coin Price in USD
get coin rate using following method :
success response :
for further reference please visit our api documentation