2022-04-06
1800
#laravel
Lloyd Miller
94693
Apr 6, 2022 ⋅ 6 min read

Validating arrays and nested values in Laravel

Lloyd Miller Lloyd is a freelance full-stack web developer specializing in the RILT stack (React, Inertia, Laravel, Tailwind). He also loves Jamstack and builds websites with Nuxt.js, Next.js, and Gatsby.

Recent posts:

8 Reasons Your Next.js App Is Slow — And How To Fix Them

8 reasons your Next.js app is slow — and how to fix them

You don’t need to guess what’s wrong with your Next.js app. I’ve mapped out the 8 biggest performance traps and the fixes that actually work.

Chizaram Ken
Jun 20, 2025 ⋅ 16 min read
how to truncate text in CSS (single and multi-line)

How to truncate text in CSS (single and multi-line)

Learn how to truncate text with three dots in CSS, and use two reliable CSS text truncation techniques while covering single-line and multi-line truncations.

Chinedu Okere
Jun 20, 2025 ⋅ 10 min read
how to use the Interest Invoker API for better, more accessible UX

How to use the Interest Invoker API for better, more accessible UX

Explore how to use Google’s new experimental Interest Invoker API for delays, popovers, and smarter hover UX.

Emmanuel John
Jun 19, 2025 ⋅ 7 min read
How To Build And Deploy A Web App With Bolt.new

How to build and deploy a web app with Bolt

Bolt.new revolutionizes how you build and deploy web apps with no-code development and seamless AI integration.

Isaac Okoro
Jun 19, 2025 ⋅ 8 min read
View all posts

3 Replies to "Validating arrays and nested values in Laravel"

  1. I’m using input name attr like data[route_title][] but got the data[][route_title] is also fine in this article. thank you for detailed article.

  2. how do you do the message()/translation of arrays and nested attributes, with the rule `required_if:field.*.filed,value`? because you have :other, :attribute, :value..

Leave a Reply