Validate if the given input is a valid Dutch phone number
timwassenburg/laravel-dutch-phone-number-validator is a Laravel package for validate if the given input is a valid dutch phone number.
It currently has 3 GitHub stars and 8.120 downloads on Packagist (latest version v1.0.0).
Install it with composer require timwassenburg/laravel-dutch-phone-number-validator.
Discover more Laravel packages by timwassenburg
or browse all Laravel packages to compare alternatives.
Last updated
Run composer require to install the package.
composer require timwassenburg/laravel-dutch-phone-number-validator
Add the dutch-phone-number rule to the field you want to validate.
'phone' => 'required|dutch-phone-number'
Publish the translations with the following command.
php artisan vendor:publish --provider="TimWassenburg\DutchPhoneNumberValidator\PhoneValidatorServiceProvider" --tag="translations"
You can now add or update translations in the resources/lang/vendor/dutch-phone-number folder.
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
git checkout -b feature/AmazingFeature)git commit -m 'Add some AmazingFeature')git push origin feature/AmazingFeature)The MIT License (MIT). Please see License File for more information.