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:

how to use the ternary operator in javascript

How to use the ternary operator in JavaScript

Add to your JavaScript knowledge of shortcuts by mastering the ternary operator, so you can write cleaner code that your fellow developers will love.

Chizaram Ken
Feb 21, 2025 ⋅ 7 min read
Using tsup To Bundle Your TypeScript Package

Using tsup to bundle your TypeScript package

Learn how to efficiently bundle your TypeScript package with tsup. This guide covers setup, custom output extensions, and best practices for optimized, production-ready builds.

Muhammad Ali
Feb 20, 2025 ⋅ 7 min read
how to use react higher order components

How to use React higher-order components

Learn the fundamentals of React’s high-order components and play with some code samples to help you understand how it works.

Hussain Arif
Feb 20, 2025 ⋅ 10 min read
dependency inversion principle

Understanding the dependency inversion principle (DIP)

Learn about the dependency inversion principle (DIP), its importance, and how to implement it across multiple programming languages.

Samuel Olusola
Feb 20, 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