-
-
Notifications
You must be signed in to change notification settings - Fork 219
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow wildcard field parameters #34
Comments
I'd love to, but at the moment Laravel doesn't allow third-party packages to implement wildcards in validator parameters... Parsing of wildcard parameters happens here: |
This has been implemented as of Laravel 5.4.18. Will rework the package to make use of this in the near future. |
Implemented. Please update to the latest version (and make sure to use Laravel >= 5.4.18): https://github.com/Propaganistas/Laravel-Phone/releases/tag/2.8.3 |
Thanks again for putting this out there.
Laravel 5.2 now supports validation arrays, it looks like the phone validator doesn't take advantage of that yet, I'd like to be able to do this:
Similar to what is shown in the docs:
https://laravel.com/docs/5.2/validation#validating-arrays
The text was updated successfully, but these errors were encountered: