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

connecteev's avatar

Implement Stripe Subscriptions with Laravel Cashier

I'm looking for some sample code to help me translate this example for Stripe Subscriptions into Laravel + Laravel Cashier.

https://github.com/stripe-samples/set-up-subscriptions

Any pointers are appreciated.

0 likes
9 replies
bugsysha's avatar

Have you checked video lessons here on Laracasts? I think they are still relevant.

connecteev's avatar

@bugsysha I have, but couldnt find one that was relevant. I am thinking about Laravel Spark now :(

bugsysha's avatar

Who cares about those comments. What I've used on my old project is pretty much what I've used on new ones. Laravel Cashier is an abstraction on top of Stripe and that abstraction has not changed much (if any).

bugsysha's avatar

I do not have my own, but companies I work/worked for which are under NDA. Why are you looking so much upfront? Have you even tried it? It is almost super easy. Documentation is great. Not sure what you are missing that makes you so reluctant to try.

bugsysha's avatar

Event guys that we follow and listen to (Jeffrey Way, Adam Wathan, and others) said that jobs which they did not have required skills for made them learn most.

flightsimmer668's avatar

@connecteev One of the first projects that I did that needed Laravel + Stripe functionality was easy enough to integrate with Cashier. The documentation for Cashier is clear and concise -- I remember giving it a good read and going back to it for the duration of the project. In the end, I understood what I needed to do from the documentation and of course, with the help of the videos referenced by @bugsysha. The project that I'm referring to is only about a year old -- yes the videos are rather outdated, but they still contain information that will help you figure out what you need to do. https://laravel.com/docs/7.x/billing

Cashier is a good stepping stone, but of course, the Stripe API documentation is excellent and I now do my Laravel + Stripe integrations on my own without using Cashier.

1 like

Please or to participate in this conversation.