A Library For Checkout with bitcoin in laravel Framework
Via Composer
$ composer require oteroweb/laravelcoinpayment "dev-master"
or add to your composer json´in require array
"oteroweb/laravelcoinpayment": "dev-master"
Add Provider
oteroweb\LaravelCoinpayment\LaravelCoinPaymentServiceProvider::class,
Add Aliases
'Coinpayment' => oteroweb\LaravelCoinPayment\CoinPaymentsAPI::class,
##Configuration
Publish Configuration file
php artisan vendor:publish --provider="oteroweb\LaravelCoinPayment\LaravelCoinPaymentServiceProvider" --tag="config"
Edit .env
Add these lines at .env file, follow config/coinpayment.php for configuration descriptions.
BTC_PUBLICKEY=your_public_key
BTC_PRIVATEKEY=your_private_key
##Customizing views (Optional)
If you want to customize form, follow these steps.
php artisan vendor:publish
--provider="oteroweb\LaravelCoinpayment\LaravelCoinpaymentServiceProvider" --tag="views"
###Render Shopping Cart Form
// Soon
//soon
{
// Some code here soon
}
Please see CHANGELOG for more information what has changed recently.
Please see CONTRIBUTING and CONDUCT for details.
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.