rackbeat/laravel-validate-https
Validation Rule to ensure a url is secured (https)
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
Related Packages
codezero/laravel-unique-translation
Check if a translated value in a JSON column is unique in the database.
1,123,726
188
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| 2.1 | >=7.1 | >=6.0 | MIT | |
| 2.0 | >=7.1 | ^6.0| | MIT | |
| 1.3 | >=7.1 | ^5.6| | MIT | |
| 1.2 | >=7.1 | ^5.6| | MIT | |
| 1.1 | >=7.1 | ^5.6| | MIT | |
| 1.0 | >=7.1 | ^5.5| | MIT |