Download the PHP package coinremitterlaravel/coinremitter-laravel without Composer
On this page you can find all versions of the php package coinremitterlaravel/coinremitter-laravel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download coinremitterlaravel/coinremitter-laravel
More information about coinremitterlaravel/coinremitter-laravel
Files in coinremitterlaravel/coinremitter-laravel
Package coinremitter-laravel
Short Description Official laravel plugin for coinremitter cryptocurrency payment gateway
License MIT
Informations about the package coinremitter-laravel
CoinRemitter plugin for Laravel
Coinremitter is a crypto payment processor. Accept Bitcoin, Tron, Binance (BEP20), BitcoinCash, Ethereum, Litecoin, Dogecoin, USDTERC20, USDTTRC20, Dash, Monero etc.
What is the Crypto Payment Processor?
The Crypto Payment Processor acts as a mediator between merchants and customers, allowing the merchant to receive payments in the form of cryptocurrency.
Installation guide:
You can install Coinremitter’s plugin using the composer in Laravel:
Register service provider to your config/app.php like below :
Add line at the bottom in the array
Publish the configuration file to the config folder using the following command:
Set credentials of all coins which you want to use from coinremitter in config/coinremitter.php like this:
If this file does not exist then create and set configuration like this. How to get API key and Password ?
Include specific coins in coinremitter.php that you wish to utilize in your system.
Usage of the library:
You have to include the namespace of the package wherever you want to use this library like this:
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 the balance of your wallet using the get_balance call.
This will return either a success response or an error response if something went wrong.The success response is as shown below:
Create a new wallet address
You can get a new wallet address using the following method:
Success response :
Also, you can assign a label to your address with a passing parameter to the get_new_address method like this:
The response will add the given label at the label key.
Validate wallet address
For validation of the wallet address, use the following method:
response :
Withdraw amount
To withdraw the amount to a specific address the following method will be used:
Success response:
The dates received in the response are in the UTC format.
Get transaction
Retrieve transaction information using the ID received from the "withdraw amount" response's ID or from the "id" field in the webhook using the following method.
Success response:
if reponse data object contains is equal to then the response will be given as shown below:
The dates received in the response are in the UTC format.
Get Transaction By The Address
Get the transaction using the address received using the following method:
Success response :
The dates received in the response are in the UTC format.
Create Invoice
You can create an invoice using the following method:
Success response:
The dates received in the response are in the UTC format.
Get Invoice
Get invoice details using invoice_id received using the following method:
Success response:
The dates received in the response are in the UTC format.
Get Live Coin Price in USD
Get the rate of the using the following method:
Success response :
Get Crypto Rate
Get the crypto rate using fiat_symbol and fiat_amount received using the following method :
Success response :
For further reference please visit our api documentation