Skip to content

A Library For Checkout with bitcoin in laravel Framework

Notifications You must be signed in to change notification settings

oteroweb/laravelcoinpayments

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 

Repository files navigation

Laravel CoinPayment

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 [email protected] instead of using the issue tracker.

Credits

License

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

About

A Library For Checkout with bitcoin in laravel Framework

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published