Closed Andreyco closed 7 years ago
Yup, also if you can add same to the raw validations aswell 👍
Gosh... totally forgot about this. Still on my list, will contribute later ;)
Any news on this? :) Edit: Oh I just saw the max and min rule. Don't need the size rule anymore.
For anyone coming from Google, You can use Laravel's 'size:N'
rule:
For string data, value corresponds to the number of characters. For numeric data, value corresponds to a given integer value. For an array, size corresponds to the count of the array. For files, size corresponds to the file size in kilobytes.
If I am not mistaken, Laravel provides
size:n
rule to validate length of array and/or string.Would be great to include such rule.
Open to PR?