oteroweb/laravelcoinpayment

For use Coinpayment in laravel Framework

dev-master 2016-12-25 07:08 UTC

This package is not auto-updated.

Last update: 2024-09-09 14:33:58 UTC


README

A Library For Checkout with bitcoin in laravel Framework

Latest Version on Packagist Software License Total Downloads

Install

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.

1.Publish view

php artisan vendor:publish 

--provider="oteroweb\LaravelCoinpayment\LaravelCoinpaymentServiceProvider" --tag="views"

2.Edit your view at /resources/views/vendor/coinpayment/coinpayment.php

Usage

###Render Shopping Cart Form

// Soon

API MODULES

Get Balance

//soon

Send Money

{
	// Some code here soon
}

Change log

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING and CONDUCT for details.

Security

If you discover any security related issues, please email oterolopez1990@gmail.com instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.