Download the PHP package kaishiyoku/laravel-color-validation without Composer
On this page you can find all versions of the php package kaishiyoku/laravel-color-validation. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download kaishiyoku/laravel-color-validation
More information about kaishiyoku/laravel-color-validation
Files in kaishiyoku/laravel-color-validation
Package laravel-color-validation
Short Description Laravel color validation rules
License MIT
Homepage https://github.com/Kaishiyoku/laravel-color-validation
Informations about the package laravel-color-validation
About
This package will let you validate that a certain value is a valid CSS color string using Laravel >= 10.
Minimum requirements
- PHP 8.1
- Laravel 10
Installation
Install via composer - In the terminal:
If you're not using package auto-discovery add the following to the providers
array in your config/app.php
Usage
Using other locales
By default English, German and French locales can be used. If you're using a different locale you will have to add a validation.php
file and a custom folder named after the locale code (e.g. ja
for Japanese) to the /resources/lang/vendor/color_validation/
folder.
Example folder structure:
Adjusting existing locales
If you want to change any of the existing translations, you can publish the locale files with:
License
MIT (https://github.com/Kaishiyoku/laravel-color-validation/blob/master/LICENSE)
Author
Website: andreas-wiedel.de
All versions of laravel-color-validation with dependencies
illuminate/support Version ^10.0|^11.0|^12.0
illuminate/validation Version ^10.0|^11.0|^12.0
spatie/regex Version ^3.1