PHPackages                             bpstudio/cashier-braintree - 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. bpstudio/cashier-braintree

Abandoned → [braintree/braintree\_php](/?search=braintree%2Fbraintree_php)Library[Payment Processing](/categories/payments)

bpstudio/cashier-braintree
==========================

Laravel Cashier provides an expressive, fluent interface to Braintree's subscription billing services.

01PHP

Since Apr 11Pushed 4y ago1 watchersCompare

[ Source](https://github.com/bpstudio/cashier-braintree)[ Packagist](https://packagist.org/packages/bpstudio/cashier-braintree)[ RSS](/packages/bpstudio-cashier-braintree/feed)WikiDiscussions main Synced 4w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Laravel Cashier - Braintree Edition
===================================

[](#laravel-cashier---braintree-edition)

[![Build Status](https://camo.githubusercontent.com/713a37d7307a4cb886d25c759fb820e71a661314117b7152969f22ff9f96d30b/68747470733a2f2f7472617669732d63692e6f72672f6c61726176656c2f636173686965722d627261696e747265652e737667)](https://travis-ci.org/laravel/cashier-braintree)[![Total Downloads](https://camo.githubusercontent.com/b9ca2af2f2e2f4b9566e863b797cde9e6a313279fdcdb52b23a5780831d1f1a7/68747470733a2f2f706f7365722e707567782e6f72672f6c61726176656c2f636173686965722d627261696e747265652f642f746f74616c2e737667)](https://packagist.org/packages/laravel/cashier-braintree)[![Latest Stable Version](https://camo.githubusercontent.com/3784f4904eb23a2f43591ba5137f9f5e745770e4fa70aed588c82a4be1ad2bce/68747470733a2f2f706f7365722e707567782e6f72672f6c61726176656c2f636173686965722d627261696e747265652f762f737461626c652e737667)](https://packagist.org/packages/laravel/cashier-braintree)[![Latest Unstable Version](https://camo.githubusercontent.com/d4a02498a8723244a508ac15fcb99d7d254b506e935820d78a36464e77db9627/68747470733a2f2f706f7365722e707567782e6f72672f6c61726176656c2f636173686965722d627261696e747265652f762f756e737461626c652e737667)](https://packagist.org/packages/laravel/cashier-braintree)[![License](https://camo.githubusercontent.com/9711062c73ae8068688fd6cb439e6fbfc57f55d951c9d6c8a747186494b8a5cb/68747470733a2f2f706f7365722e707567782e6f72672f6c61726176656c2f636173686965722d627261696e747265652f6c6963656e73652e737667)](https://packagist.org/packages/laravel/cashier-braintree)

Introduction
------------

[](#introduction)

> Unfortunately, we've decided to abandon maintenance for the laravel/cashier-braintree library. We recommend using the braintree/braintree\_php library directly from now on. You're free to fork and maintain your own version if you like.

Laravel Cashier Braintree provides an expressive, fluent interface to [Braintree's](https://www.braintreepayments.com/) subscription billing services. It handles almost all of the boilerplate subscription billing code you are dreading writing. In addition to basic subscription management, Cashier Braintree can handle coupons, swapping subscription, cancellation grace periods, and even generate invoice PDFs.

Testing
-------

[](#testing)

You will need to set the following details locally and on your Braintree account in order to run the library's tests.

### Local

[](#local)

#### Environment Variables

[](#environment-variables)

```
BRAINTREE_MERCHANT_ID=
BRAINTREE_PUBLIC_KEY=
BRAINTREE_PRIVATE_KEY=
BRAINTREE_MODEL=Laravel\Cashier\Tests\User

```

You can set these variables in the `phpunit.xml.dist` file.

### Braintree

[](#braintree)

#### Plans

[](#plans)

```
* Plan ID: monthly-10-1, Price: $10, Billing cycle of every month
* Plan ID: monthly-10-2, Price: $10, Billing cycle of every month
* Plan ID: yearly-100-1, Price: $100, Billing cycle of every 12 months

```

#### Discount

[](#discount)

```
* Discount ID: coupon-1, Price: $5
* Discount ID: plan-credit, Price $1

```

Official Documentation
----------------------

[](#official-documentation)

Documentation for Cashier Braintree can be found on the [Laravel website](https://laravel.com/docs/5.8/braintree).

License
-------

[](#license)

Laravel Cashier Braintree is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).

###  Health Score

14

—

LowBetter than 2% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity1

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity26

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/41fae6585fb232982926527eaf7afcb19e0bc03ce801803df8dc5f0dd013a95e?d=identicon)[bpstudio](/maintainers/bpstudio)

---

Top Contributors

[![bpstudio](https://avatars.githubusercontent.com/u/2524320?v=4)](https://github.com/bpstudio "bpstudio (2 commits)")

### Embed Badge

![Health badge](/badges/bpstudio-cashier-braintree/health.svg)

```
[![Health](https://phpackages.com/badges/bpstudio-cashier-braintree/health.svg)](https://phpackages.com/packages/bpstudio-cashier-braintree)
```

###  Alternatives

[omnipay/paypal

PayPal gateway for Omnipay payment processing library

3156.8M53](/packages/omnipay-paypal)[eduardokum/laravel-boleto

Biblioteca com boletos para o laravel

626351.9k2](/packages/eduardokum-laravel-boleto)[tbbc/money-bundle

This is a Symfony bundle that integrates moneyphp/money library (Fowler pattern): https://github.com/moneyphp/money.

1961.9M](/packages/tbbc-money-bundle)[2checkout/2checkout-php

2Checkout PHP Library

83740.3k2](/packages/2checkout-2checkout-php)[smhg/sepa-qr-data

Generate QR code data for SEPA payments

61717.2k5](/packages/smhg-sepa-qr-data)[omnipay/dummy

Dummy driver for the Omnipay payment processing library

271.2M33](/packages/omnipay-dummy)

PHPackages © 2026

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