Skip to content
A collection of validation rules
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
tests
.gitignore
LICENSE.md
README.md
composer.json
phpunit.xml.dist

README.md

Validation Rules

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
You can’t perform that action at this time.