lukaswhite/validation-rules

A collection of rules for validation

0.0.1 2019-01-01 15:55 UTC

This package is auto-updated.

Last update: 2020-07-28 17:38:12 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