Laravel 9 can automatically bind route parameters to enums

Laravel 9 can automatically bind route parameters to enums

🔥Laravel 9 introduced enum route bindings!

You can type-hint your enum and Laravel will cast the string value from the URL:

We're writing a book, you can get it for free here.