2017 © Pedro Peláez
 

library coinbase

A simple Laravel 4 package for processing bitcoin payments via Coinbase

image

yani/coinbase

A simple Laravel 4 package for processing bitcoin payments via Coinbase

  • Wednesday, October 18, 2017
  • by yani-
  • Repository
  • 1 Watchers
  • 2 Stars
  • 102 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 12 Versions
  • 2 % Grown

The README.md

Coinbase

Build Status Scrutinizer Code Quality Latest Stable Version Total Downloads, (*1)

A simple Laravel package for processing payments via Coinbase, (*2)

Requirements

  • PHP 5.4 or greater
  • Laravel 4.1 or greater

Installation

You can install the package using the Composer package manager. Assuming you have Composer installed globally:, (*3)

composer require yani/coinbase:0.*

Service provider and alias

Next, add the Yani\Coinbase\CoinbaseServiceProvider service provider to the providers array in your app/config.php file., (*4)

'providers' => array(
  ...
  'Yani\Coinbase\CoinbaseServiceProvider',
),

and then add the facade to your aliases array in your app/config.php file., (*5)

'aliases' => array(
  ...
  'Coinbase' => 'Yani\Coinbase\Facades\Coinbase',
),

Configuration

Publish the configuration with, (*6)

php artisan config:publish yani/coinbase

This will add the boilerplate configuration to app/config/packages/yani/coinbase/config.php., (*7)

Usage

$amount   = 100;
$currency = 'USD';
$name     = 'Order #1';
try
{
    $checkout = Coinbase::createCheckout($amount, $currency, $name);
    echo $checkout->id;         // ffc93ba1-874d-5c55-853c-53c9c4814b1e
    echo $checkout->embed_code; // af0b52802ad7b36806e307b2d294e3b4
    // You can find a full list of the response here: https://developers.coinbase.com/api/v2#create-checkout
}
catch (CoinbaseCheckoutException $e)
{
    echo "The order failed because: " . $e->getMessage();
}

License

MIT, (*8)

The Versions

18/10 2017

dev-master

9999999-dev

A simple Laravel 4 package for processing bitcoin payments via Coinbase

  Sources   Download

BSD-2-Clause

The Requires

 

The Development Requires

laravel coinbase

18/10 2017

2.0

2.0.0.0

A simple Laravel 4 package for processing bitcoin payments via Coinbase

  Sources   Download

BSD-2-Clause

The Requires

 

The Development Requires

laravel coinbase

27/02 2016

dev-laravel-4.2

dev-laravel-4.2

A simple Laravel 4 package for processing bitcoin payments via Coinbase

  Sources   Download

BSD-2-Clause

The Requires

 

The Development Requires

laravel coinbase

25/02 2016

1.2

1.2.0.0

A simple Laravel 4 package for processing bitcoin payments via Coinbase

  Sources   Download

BSD-2-Clause

The Requires

 

The Development Requires

laravel coinbase

25/02 2016

1.1

1.1.0.0

A simple Laravel 4 package for processing bitcoin payments via Coinbase

  Sources   Download

BSD-2-Clause

The Requires

 

The Development Requires

laravel coinbase

25/02 2016

1.0

1.0.0.0

A simple Laravel 4 package for processing bitcoin payments via Coinbase

  Sources   Download

BSD-2-Clause

The Requires

 

The Development Requires

laravel coinbase

05/09 2015

dev-develop

dev-develop

A simple Laravel 4 package for processing bitcoin payments via Coinbase

  Sources   Download

BSD-2-Clause

The Requires

 

The Development Requires

laravel coinbase

05/09 2015

0.0.5

0.0.5.0

A simple Laravel 4 package for processing bitcoin payments via Coinbase

  Sources   Download

BSD-2-Clause

The Requires

 

The Development Requires

laravel coinbase

30/08 2015

0.0.4

0.0.4.0

A simple Laravel 4 package for processing bitcoin payments via Coinbase

  Sources   Download

BSD-2-Clause

The Requires

 

The Development Requires

laravel coinbase

30/08 2015

0.0.3

0.0.3.0

A simple Laravel 4 package for processing bitcoin payments via Coinbase

  Sources   Download

BSD-2-Clause

The Requires

 

The Development Requires

laravel coinbase

30/08 2015

0.0.2

0.0.2.0

A simple Laravel 4 package for processing bitcoin payments via Coinbase

  Sources   Download

BSD-2-Clause

The Requires

 

The Development Requires

laravel coinbase

30/08 2015

0.0.1

0.0.1.0

A simple Laravel 4 package for processing bitcoin payments via Coinbase

  Sources   Download

BSD-2-Clause

The Requires

 

The Development Requires

laravel coinbase