New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

rackbeat/laravel-validate-https

Simple validation rule for https urls.
44,118 5
Install
composer require rackbeat/laravel-validate-https
Latest Version:2.1
PHP:>=7.1
Laravel:6 – 13
Older releases:5
License:MIT
Last Updated:Sep 3, 2026
Links: GitHub  ·  Packagist
Maintainer: lasserafn

Validation Rule to ensure a url is secured (https)

Should be combined with url rule. Alternatively just run starts_with('https://')

Build Status Coverage Total Downloads Latest Stable Version License

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

fadion/rule

An expressive validation rule builder for Laravel.

1,145 13
timacdonald/rule-builder

A fluent rule builder for Laravel validation rule generation.

8,288 101
szunisoft/laravel-rule-groups

Make customizable and reusable rule groups easily..

2,638 1
raditzfarhan/sahrule

Missing Laravel validation rules.

114 0
jenky/smart-rule

Laravel smart validation rules

109 0

Version History

Version Released PHP Laravel License
2.1 >=7.1 >=6.0 MIT
2.0 >=7.1 ^6.0|^7.0|^8.0|^9.0 MIT
1.3 >=7.1 ^5.6|^6.0|^7.0|^8.0 MIT
1.2 >=7.1 ^5.6|^6.0|^7.0|^8.0 MIT
1.1 >=7.1 ^5.6|^6.0|^7.0 MIT