Livewire Screencasts

Level up. Big Time.

Instant access to over 8 hours of content

Explore tons of source code and use it in your own apps

Support our lovely project

30% Off

Yearly

Access all screencasts and source code by subscribing on a yearly basis.

$99
$69
yearly

50% Off

Lifetime

Pay once, and get access to all future screencasting content. Forever.

$299
$149
Already a GitHub sponsor? Email us for a discount ↗

Form Essentials

Enums

Now that we've built our "Country" select dropdown, let's talk about a way that you can clean up the code for length select dropdown in your app. We're going to extract the options for the "Countries" select into an PHP Enumeration called "Country". Along the way, we'll talk about the ins and outs of using Enums with Livewire and Eloquent.
Share