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:

When is low-code the right choice? Here’s how to decide

Not sure if low-code is right for your next project? This guide breaks down when to use it, when to avoid it, and how to make the right call.

Popoola Temitope
Jul 11, 2025 ⋅ 7 min read
Comparing AI App Builders — Firebase Studio vs. Lovable vs. Replit. LogRocket Article

Comparing AI app builders — Firebase Studio vs. Lovable vs. Replit

Compare Firebase Studio, Lovable, and Replit for AI-powered app building. Find the best tool for your project needs.

Emmanuel John
Jul 11, 2025 ⋅ 7 min read
Gemini CLI tutorial — Will it replace Windsurf and Cursor?

Gemini CLI tutorial — Will it replace Windsurf and Cursor?

Discover how to use Gemini CLI, Google’s new open-source AI agent that brings Gemini directly to your terminal.

Chizaram Ken
Jul 10, 2025 ⋅ 8 min read
React & TypeScript: 10 Patterns For Writing Better Code

React & TypeScript: 10 patterns for writing better code

This article explores several proven patterns for writing safer, cleaner, and more readable code in React and TypeScript.

Peter Aideloje
Jul 10, 2025 ⋅ 11 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