Laravel Cashier provides an expressive, fluent interface to Braintree's subscription billing services.
ahadcove/cashier-braintree is a Laravel package for laravel cashier provides an expressive, fluent interface to braintree's subscription billing services..
It currently has 2 GitHub stars and 577 downloads on Packagist (latest version v12.2.1).
Install it with composer require ahadcove/cashier-braintree.
Discover more Laravel packages by ahadcove
or browse all Laravel packages to compare alternatives.
Last updated
Laravel Cashier Braintree provides an expressive, fluent interface to Braintree's 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.
Supports PHP ^7.2, Laravel ~6.12|~6.13|~6.14, and phpunit ~8.0
You will need to set the following details locally and on your Braintree account in order to run the library's tests.
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.
* 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 ID: coupon-1, Price: $5
* Discount ID: plan-credit, Price $1
Documentation for Cashier Braintree can be found on the Laravel website.
* Update composer.json to include new php version
* Checkout branch for version that you want
* Create a git tag with the version
* That's it. It will auto be updated on packagist and you can now install it in your app