rap2hpoutre/uuid-rule

add a UUID validation rule
3,676 8
Install
composer require rap2hpoutre/uuid-rule
Latest Version:v0.2.0
PHP:^7.0
License:MIT
Last Updated:Feb 6, 2021
Links: GitHub  ·  Packagist
Maintainer: rap2hpoutre

UUID validation rule

Version License Build Status Total Downloads

What?

Add a UUID validation to your Laravel 5.5+ Validation Rules

Install

Install with composer:

composer require rap2hpoutre/uuid-rule

Usage

In your controllers, add the validation with your other rules:

$request->validate([
    'email' => 'required|string|email'
    'uuid' => ['required', new \Rap2hpoutre\UuidRule\UuidRule],
]);

Related Packages

mookofe/tail

RabbitMQ and PHP client for Laravel and Lumen that allows you to add and listen...

53,093 52
cleaniquecoders/laravel-uuid

Use UUID for your Laravel application.

9,761 3

Version History

Version Released PHP Laravel License
v0.2.0 ^7.0 ^5.5 MIT
v0.1.0 ^5.5 MIT
v0.0.3 ^5.5 MIT
v0.0.2 ^5.5 MIT
v0.0.1 ^5.5 MIT