penoonan / laravel-iterable-validator Goto Github PK
View Code? Open in Web Editor NEWExtends Laravel's default validation class to allow you to recursively iterate through indexed array input
Extends Laravel's default validation class to allow you to recursively iterate through indexed array input
Hi,
Thanks for making this extension available.
Would it be possible adding a way to validate array counts? E.g. "array|min:2" or "array|between:2,5" or "array|size:3".
Or even, if one feels adventurous,
"mobile_numbers" => ["array|required_without:emails", "iterate" => [...]]
"emails" => ["array", "iterate" => [...]]
That would be amazing!
Mo
Welcome,
First thank you for this useful class.
I have an issue, my input fields named like user[1][phone], 1 mean one row of data related with user and phone is a field in this row, so how can i use the class in validate that phone is max length for example
Thanks
Hi, I installed it with Laracasts\Validator package and to make it work I put it in the app folder and in the routes file pasted the resolver snippet but when i try to submit a form the server responds with a 502 Bad Gateway error. Any idea on what could cause it?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.