Build a Monthly Subscription App with Laravel Cashier

Deleting Subscription

Just like all the other things we had to do with a user's subscription, Cashier makes this easy. To delete a subscription:

$user->subscription('main')->cancel();

Like this article? Follow @chrisoncode on Twitter