rackbeat / laravel-validate-https
Simple validation rule for https urls.
Installs: 27 241
Dependents: 0
Suggesters: 0
Security: 0
Stars: 5
Watchers: 2
Forks: 0
Open Issues: 0
Requires
- php: >=7.1
- illuminate/contracts: ^6.0|^7.0|^8.0|^9.0
- illuminate/support: ^6.0|^7.0|^8.0|^9.0
- illuminate/validation: ^6.0|^7.0|^8.0|^9.0
Requires (Dev)
- phpunit/phpunit: ^7.0
- satooshi/php-coveralls: ^1.0
README
Should be combined with url
rule. Alternatively just run starts_with('https://')
Installation
You just require using composer and you're good to go!
composer require rackbeat/laravel-validate-https
The Service Provider is automatically registered.
Usage
Class
Rackbeat\Rules\HttpsRule
'url' => [ 'url', new Rackbeat\Rules\HttpsRule, ],
Helper
https
'url' => [ 'url', 'https' ],
Requirements
- PHP >= 7.1