Myvideo

Guest

Login

Laravel 9/10: 7 Improvements Around ENUMs

Uploaded By: Myvideo
8 views
0
0 votes
0

Enum classes are a pretty new PHP feature, but Laravel contributors added a lot of improvements to recognize them as “first-party citizens“. - Enum examples in other videos: @LaravelDaily/search?query=enum - [9.x] Adds implicit Enum route binding - [9.x] Adds enum casting to Request - [9.x] Allow enum route bindings to have default values - [9.x] Adds support for PHP's BackedEnum to be “rendered“ on blade views. - [10.x] Add support for BackedEnum in Collection groupBy method - [10.x] Get value attribute when default value is an enum - [10.x] Add Enum Support to the In and NotIn Validation Rules - - - - - Support the channel by checking out my products: - My Laravel courses: - Filament examples: - Laravel QuickAdminPanel: - Livewire Kit Components: - - - - - Other places to follow: - My weekly Laravel newsletter: - My personal Twitter:

Share with your friends

Link:

Embed:

Video Size:

Custom size:

x

Add to Playlist:

Favorites
My Playlist
Watch Later