mirror of
https://github.com/archtechx/laravel-tips.git
synced 2025-12-12 13:24:03 +00:00
* Weekly thread #5 * Weekly thread #6 (before #5) * Weekly thread #5 * Correct the weekly thread created_at timestamps * Add actual created_at to Thread * Weekly thread #7 * Fix weekly thread #7 * Remove thread #8
467 B
467 B
| title | tweet_id | thread_slug | author_username | images | created_at | slug | |
|---|---|---|---|---|---|---|---|
| Laravel 9 can automatically bind route parameters to enums | 1494019551310139392 | weekly-thread-2022-06 | mmartin_joo |
|
2022-02-16T18:43:13+00:00 | 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: