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:

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
A Guide To Wrapper Vs. Container Classes In CSS

A guide to wrapper vs. container classes in CSS

A breakdown of the wrapper and container CSS classes, how they’re used in real-world code, and when it makes sense to use one over the other.

Temitope Oyedele
Jul 7, 2025 ⋅ 10 min read
Stagehand and Gemini logos on a gradient background symbolizing AI web automation

How to build a web-based AI agent with Stagehand and Gemini

This guide walks you through creating a web UI for an AI agent that browses, clicks, and extracts info from websites powered by Stagehand and Gemini.

Elijah Asaolu
Jul 4, 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