PHPackages                             yani/coinbase - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Payment Processing](/categories/payments)
4. /
5. yani/coinbase

ActiveLibrary[Payment Processing](/categories/payments)

yani/coinbase
=============

A simple Laravel 4 package for processing bitcoin payments via Coinbase

2.0(8y ago)31182BSD-2-ClausePHPPHP &gt;=5.5.0

Since Aug 30Pushed 8y ago1 watchersCompare

[ Source](https://github.com/yani-/coinbase)[ Packagist](https://packagist.org/packages/yani/coinbase)[ RSS](/packages/yani-coinbase/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (3)Versions (12)Used By (0)

Coinbase
========

[](#coinbase)

[![Build Status](https://camo.githubusercontent.com/16cc43f9f350065094b96b53bb2bd105cd9d265aa66aba86cd1758c400e67f98/68747470733a2f2f7472617669732d63692e6f72672f79616e692d2f636f696e626173652e706e673f6272616e63683d646576656c6f70)](https://travis-ci.org/yani-/coinbase)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/7938dd98a4ee0d241332a61125c1e80eef7748ca82e2a594befd142a8886a356/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f79616e692d2f636f696e626173652f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/yani-/coinbase/?branch=master)[![Latest Stable Version](https://camo.githubusercontent.com/271abc77cd22b7437848bc697ef221ec2410ae0fdbb6345fb213996a1110f76b/68747470733a2f2f706f7365722e707567782e6f72672f79616e692f636f696e626173652f762f737461626c652e706e67)](https://packagist.org/packages/yani/coinbase)[![Total Downloads](https://camo.githubusercontent.com/abf0ee21fa4df9cd3a624f25a9a8a8e914f8ed985aa9ba9c0e68c3ba8dc176e0/68747470733a2f2f706f7365722e707567782e6f72672f79616e692f636f696e626173652f646f776e6c6f6164732e706e67)](https://packagist.org/packages/yani/coinbase)

A simple Laravel package for processing payments via [Coinbase](https://coinbase.com)

Requirements
------------

[](#requirements)

- PHP 5.4 or greater
- Laravel 4.1 or greater

Installation
------------

[](#installation)

You can install the package using the [Composer](https://getcomposer.org/) package manager. Assuming you have Composer installed globally:

```
composer require yani/coinbase:0.*
```

### Service provider and alias

[](#service-provider-and-alias)

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

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

and then add the facade to your `aliases` array in your `app/config.php` file.

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

### Configuration

[](#configuration)

Publish the configuration with

```
php artisan config:publish yani/coinbase
```

This will add the boilerplate configuration to `app/config/packages/yani/coinbase/config.php`.

Usage
-----

[](#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

[](#license)

MIT

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 96.8% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~97 days

Recently: every ~193 days

Total

9

Last Release

3135d ago

Major Versions

0.0.5 → 1.02016-02-25

1.2 → 2.02017-10-18

PHP version history (2 changes)0.0.1PHP &gt;=5.4.0

1.2PHP &gt;=5.5.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/656bc955ff095f76699b2144615fdf0282b990f3033d2275b8a27713eece6fff?d=identicon)[yani-](/maintainers/yani-)

---

Top Contributors

[![yani-](https://avatars.githubusercontent.com/u/1627243?v=4)](https://github.com/yani- "yani- (30 commits)")[![borislav-angelov](https://avatars.githubusercontent.com/u/499030?v=4)](https://github.com/borislav-angelov "borislav-angelov (1 commits)")

---

Tags

laravelcoinbase

### Embed Badge

![Health badge](/badges/yani-coinbase/health.svg)

```
[![Health](https://phpackages.com/badges/yani-coinbase/health.svg)](https://phpackages.com/packages/yani-coinbase)
```

###  Alternatives

[sebdesign/laravel-viva-payments

A Laravel package for integrating the Viva Payments gateway

4845.9k](/packages/sebdesign-laravel-viva-payments)[luigel/laravel-paymongo

A laravel wrapper for Paymongo API

7956.2k1](/packages/luigel-laravel-paymongo)[musahmusah/laravel-multipayment-gateways

A Laravel Package that makes implementation of multiple payment Gateways endpoints and webhooks seamless

852.2k1](/packages/musahmusah-laravel-multipayment-gateways)[henryejemuta/laravel-monnify

A laravel package to seamlessly integrate monnify api within your laravel application

132.1k](/packages/henryejemuta-laravel-monnify)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
