Back to the Learning!

Laracasts is packed full with over 1,000 lessons just like this one.

Sign up to get full access or log in to your account and sit back.

Published On Nov. 22nd 2016

How to Accept Payments: A Billable Trait

Episode 13 Run Time 3:25

Download

If we want to maintain our current API, that allows us to call various subscriptions-specific methods off of $user, then we might consider extracting a helpful BillableTrait to clean things up. Let's tackle that very thing in this episode.