In this episode, I'll demonstrate a few refactoring strategies that I often implement in my own projects. To clean up our
SubscriptionsController, we might leverage form objects, as well as creating a dedicated
Subscription class to manage any interaction with Stripe. In incremental steps, let's review the workflow.
Published on Nov 1st, 2016.
Understand.io is used by hundreds of Laravel developers to find and fix errors.
Sign up for a free 14-day trial now.