Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

WallyJ's avatar

Cashier with Braintree

I am using Laravel 5.8 for a project, and in the docs, it explains how to setup Cashier for Braintree payments. However, it seems that this is deprecated in 6.0, which I haven't moved to yet. Looks like Stripe is still supported. When I call the cashier for Braintree package using

composer require laravel/cashier-braintree

It seems to install correctly, but it give me the error:

Package laravel/cashier-braintree is abandoned, you should avoid using it. Use braintree/braintree_php instead

Which is simply the Braintree SDK code for PHP, not something like Cashier which is specifically designed for Laravel.

I would rather use Cashier, and some day down the road we may switch to Stripe, but we have to use Braintree now, so is anyone else using Cashier for Braintree? Should I expect it to keep working if I'm using 5.8 with the instructions in those particular docs?

0 likes
2 replies
Cronix's avatar
Cronix
Best Answer
Level 67

It will keep working until you upgrade something that forces you to update those packages. In other words, if you stay on laravel 5.8 and keep using the same version of cashier and braintree, it will keep working forever (unless braintree sdk/api itself or something changes). But then, you're also locked into those versions and might hot be able to upgrade much, which may not be a big deal.

1 like
WallyJ's avatar

That makes sense. And is what I was hoping for. This particular app is fairly simple so I am not too worried about needing additional functionality from future versions. I am concerned about Braintree changing their SDK in some way that affects Cashier, but hopefully that will be a long time from now and there could certainly be an option to create a fix for it. I have already written Braintree with me concerns. Thanks!

Please or to participate in this conversation.