Read about the #[RouteParameter] PHP attribute that you can use in Laravel to access route model-bound models in your form request classes. The article covers how to use the attribute and the problem it solves.
PHP
Using AI as a deterministic translation tool in Laravel
Split a task into reasoning and execution to get deterministic behaviour out of a non-deterministic model. Read more