Radar
Load Eloquent Models From Form Request Input in Laravel
Spotted by the editors · 2 hours ago
Laravel form requests now have model(), modelOrFail(), and models() helpers that load Eloquent models from IDs in the input, with optional query scoping.
The board does not copy the article: it names the topic and sends you to its author.