Should be combined with url
rule. Alternatively just run starts_with('https://')
You just require using composer and you're good to go!
composer require rackbeat/laravel-validate-https
The Service Provider is automatically registered.
Rackbeat\Rules\HttpsRule
'url' => [
'url',
new Rackbeat\Rules\HttpsRule,
],
https
'url' => [ 'url', 'https' ],
- PHP >= 7.1