Simple validation rule for https urls.
rackbeat/laravel-validate-https is a Laravel package for simple validation rule for https urls. .
It currently has 5 GitHub stars and 41.542 downloads on Packagist (latest version 2.0).
Install it with composer require rackbeat/laravel-validate-https.
Discover more Laravel packages by rackbeat
or browse all Laravel packages to compare alternatives.
Last updated
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' ],