Subdomain
Validates a user submitted subdomain in your application.
Installation
composer require laravel-validation-rules/subdomain
Usage
use LVR\Subdomain\Subdomain;
$request->validate([
'domain' => ['required', new Subdomain],
]);
Validates a user submitted subdomain in your application.
composer require laravel-validation-rules/subdomain
use LVR\Subdomain\Subdomain;
$request->validate([
'domain' => ['required', new Subdomain],
]);