lukaswhite/validation-rules

A collection of validation rules

2.0 2022-08-23 11:38 UTC

This package is auto-updated.

Last update: 2024-11-23 16:56:06 UTC


README

A collection of validation rules. It's highly likely I'll keep adding to it.

They're designed to be used with Laravel, but so long as you don't mind having illuminate\support as a dependency, you could also use them outside of it.

Installation

composer require lukaswhite/validation-rules

Available Rules

Geo

  • Latitude
  • Longitude
  • UK Postcodes
  • US Zipcodes

Colors

  • Hex colors
  • RGB colors
  • RGBa Colors

Dates

  • Time (HH:mm)

Web

  • Slugs