Radar

Load Eloquent Models From Form Request Input in Laravel

Spotted by the editors · 1 hour ago

Laravel form requests now have model(), modelOrFail(), and models() helpers that load Eloquent models from IDs in the input, with optional query scoping.

Share LinkedIn X Bluesky WhatsApp E-mail

The board does not copy the article: it names the topic and sends you to its author.