New

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

rap2hpoutre/uuid-rule

add a UUID validation rule
3,677 8
Install
composer require rap2hpoutre/uuid-rule
Latest Version:v0.2.0
PHP:^7.0
Laravel:5
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

cleaniquecoders/laravel-uuid

Use UUID for your Laravel application.

9,767 3
laragear/meta

A Laravel Package helper for Laravel Packages

1,346,523 7

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