This repository was archived by the owner on Jul 1, 2020. It is now read-only.
Added some new Laravel Validators
Added few Validators that are like Laravel for reusability. The in and not_in Validators are the most interesting. The list includes:
- accepted: useful on "Terms of service"
- between: auto-detect type then use between_len or between_num
- max: auto-detect type then use max_len or max_num
- min: auto-detect type then use min_len or min_num
- size: auto-detect type then use exact_len or exact_num
- ip: new alias
- digits: similar to exact_len but only for digits
- digits_between: similar to between_len but only for digits
- in / in_list: useful for accepting a word from a given list of values
- not_in / not_in_list: useful for accepting a word outside a given list of values
- different: make sure current input is different from another input
- same: new alias to match