In this lesson, we'll use a middleware to check the subscription status of our users. This allows us to prevent them from accessing unauthorized sections of our application.
Overview for 'laracasts'
To begin, let's use Stripe Elements on the front-end to generate a secure form for our credit card information. We'll then pass that information over to our back-end Laravel app, which leverages Lara…
We can hook into PHPUnit's events, like for passing or failing tests, to change the color of our lights accordingly. GitHub Repo: https://github.com/drehimself/lc-hue-phpunit
Now let's leverage Vue 3 and Tailwind to build a simple client app that allows us to control our lights from any web browser.
To wrap up this section, we'll discuss how to offer configuration and extension hooks to your package users. I'll demonstrate two options: traditional inheritance and static configuration hooks.
At this point, you should fully understand the honeypot technique. If you'd like some extra credit, however, let's spend a little more time discussing code organization and configurability.