New

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

laravel-validation-rules/subdomain

Validate a user submitted subdomain
40,187 28
Install
composer require laravel-validation-rules/subdomain
Latest Version:2.3.0
Laravel:5 – 8
License:Apache-2.0
Last Updated:Apr 16, 2024
Links: GitHub  ·  Packagist
Maintainer: clarkeash

Subdomain

Validates a user submitted subdomain in your application.

Supports Laravel: 5.5, 5.6, 5.7 & 5.8

Installation

composer require laravel-validation-rules/subdomain

Usage

use LVR\Subdomain\Subdomain;

$request->validate([
    'domain' => ['required', new Subdomain],
]);

Related Packages

doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

660,512,042 9,702
laravel/framework

The Laravel Framework.

625,568,548 34,998
laravel/tinker

Powerful REPL for the Laravel framework.

531,591,559 7,442
laravel/serializable-closure

Laravel Serializable Closure provides an easy and secure way to serialize closur...

450,320,528 608
nunomaduro/collision

Cli error handling for console/command-line PHP applications.

424,642,029 4,662

Version History

Version Released Laravel License
2.3.0 ^5.5|^6.0|^7.0|^8.0 Apache-2.0
2.2.0 ^5.5|^6.0|^7.0 Apache-2.0
v2.1.0 ^5.5|^6.0 Apache-2.0
v2.0.0 ^5.5 Apache-2.0
v1.0.1 ^5.5 Apache-2.0