New

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

laravel-validation-rules/subdomain

Validate a user submitted subdomain
40,184 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...

651,963,193 9,701
laravel/framework

The Laravel Framework.

604,216,237 34,982
laravel/tinker

Powerful REPL for the Laravel framework.

518,004,183 7,444
laravel/serializable-closure

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

435,097,283 607
nunomaduro/collision

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

407,699,310 4,663

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