CoinPayment 币种钱包地址生成
Execute the following command to get the latest version of the package:
$ composer require jybtx/coinpayment
ServiceProvider will be attached automatically
In your config/app.php
add Jybtx\CoinPayment\CoinPaymentServiceProvider::class
to the end of the providers
array:
'providers' => [
...
Jybtx\CoinPayment\CoinPaymentServiceProvider::class,
],
'aliases' => [
...
"CoinPayment": Jybtx\CoinPayment\CoinPaymentFacade::class,
]
Publish Configuration
php artisan vendor:publish --provider "Jybtx\CoinPayment\CoinPaymentServiceProvider"
OR
php artisan vendor:publish --tag=coin-payment
use CoinPayment;
CoinPayment::GetDepositAddress('currency');
You can contribute in one of three ways:
- File bug reports using the issue tracker.
- Answer questions or fix bugs on the issue tracker.
- Contribute new features or update the wiki.
The code contribution process is not very formal. You just need to make sure that you follow the PSR-0, PSR-1, and PSR-2 coding guidelines. Any new code contributions must be accompanied by unit tests where applicable.
MIT