'your_field' => 'url'
The field under validation must be a valid URL.
Documentation: https://laravel.com/docs/7.x/validation#rule-url
I can't find any validation rules for URL validation, any ideas? Thanks in advance.
@mahmoudghalayini In the past was url validation url throughfilter_var
https://laravel.com/docs/5.1/validation#rule-url
https://github.com/laravel/framework/blob/5.1/src/Illuminate/Validation/Validator.php
But now it use regex
Also there exists https://laravel.com/docs/7.x/validation#rule-active-url
Please or to participate in this conversation.