Skip to content
CodeWiki
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
Search
⌘K
English
English
Chinese
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
English
English
Chinese
Practice
/
Quiz
/
Backend
/
Laravel
A Form Request validates an order ID as an integer. What must still happen before updatin…
from Laravel
Laravel 13.30.1 / PHP 8.3.33
intermediate
1 min
A Form Request validates an order ID as an integer. What must still happen before updating that order?
Authorize the current user against the resolved order or a tenant-scoped query.
Add the ID to the model casts array.
Call route:cache before every request.
Convert the controller to a singleton.
Check
Ask AI about this kata
Report an error
previous kata
Spot the bug in the Laravel controller
Spot the bug
A new version is available
Reload