Skip to content

About

Validate colours.

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Latest commit

 

History

10 Commits

Folders and files

Repository files navigation

Colour

Validates colours, currently supporting hex codes only.

Installation

composer require laravel-validation-rules/colour

Usage

use LVR\Colour\Hex;

$request->validate([
    'colour' => ['required', new Hex],
]);

About

Validate colours.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages