x-laravel/validation-extend

Adds rules that may be required that are not in the Laravel validation class.

v1.0.0 2021-02-06 20:41 UTC

This package is auto-updated.

Last update: 2024-10-07 05:22:39 UTC


README

Latest Stable Version Total Downloads Dependents License

StyleCI

Introduction

Adds rules that may be required that are not in the Laravel validation class.

Requirements

Laravel >=5.5. Other than that, this library has no requirements.

Install

$ composer require x-laravel/validation-extend

Example Usage

use Illuminate\Support\Facades\Validator;

$validator = Validator::make($request->all(), [
    'staff_name' => 'required|human_name',
]);

License

This package is open source software licensed under the MIT license.