zhanang19/laravel-rules is a Laravel package for laravel-rules.
It currently has 0 GitHub stars and 588 downloads on Packagist (latest version v1.0.0).
Install it with composer require zhanang19/laravel-rules.
Discover more Laravel packages by zhanang19
or browse all Laravel packages to compare alternatives.
Last updated
This package provides a library of reusable validation rules for your Laravel projects.
You can install the package via composer:
composer require zhanang19/laravel-rules
use Zhanang19\LaravelRules\Rules\LinkedinUrl;
$request->validate([
'linkedin_url' => ['required', 'string', new LinkedinUrl],
]);
You can use all available rule directly as Rule object. See https://laravel.com/docs/8.x/validation#using-rule-objects
You must specify the validation rules as an array instead of using the
|character to delimit your validation rules
composer test
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
Please review our security policy on how to report security vulnerabilities.
The MIT License (MIT). Please see License File for more information.