For use Coinpayment in laravel Framework
A Library For Checkout with bitcoin in laravel Framework, (*1)
![Software License][ico-license]
, (*2)
Via Composer, (*3)
``` bash $ composer require oteroweb/laravelcoinpayment "dev-master", (*4)
or add to your composer json“in require array ``` bash "oteroweb/laravelcoinpayment": "dev-master"
Add Provider, (*5)
``` php oteroweb\LaravelCoinpayment\LaravelCoinPaymentServiceProvider::class,, (*6)
Add Aliases ``` php 'Coinpayment' => oteroweb\LaravelCoinPayment\CoinPaymentsAPI::class,
Publish Configuration file, (*7)
php artisan vendor:publish --provider="oteroweb\LaravelCoinPayment\LaravelCoinPaymentServiceProvider" --tag="config"
Edit .env, (*8)
Add these lines at .env file, follow config/coinpayment.php for configuration descriptions. ``` php BTC_PUBLICKEY=your_public_key BTC_PRIVATEKEY=your_private_key, (*9)
##Customizing views (Optional) If you want to customize form, follow these steps. ### 1.Publish view
php artisan vendor:publish, (*10)
--provider="oteroweb\LaravelCoinpayment\LaravelCoinpaymentServiceProvider" --tag="views", (*11)
### 2.Edit your view at /resources/views/vendor/coinpayment/coinpayment.php ## Usage ###Render Shopping Cart Form ``` php // Soon
``` php //soon, (*12)
### Send Money ``` php { // Some code here soon }
Please see CHANGELOG for more information what has changed recently., (*13)
Please see CONTRIBUTING and CONDUCT for details., (*14)
If you discover any security related issues, please email oterolopez1990@gmail.com instead of using the issue tracker., (*15)
The MIT License (MIT). Please see License File for more information., (*16)