schickling / laravel-validators by schickling

A set of additional validator rules for Laravel 4
739
7
2
Package Data
Maintainer Username: schickling
Maintainer Contact: schickling.j@gmail.com (Johannes Schickling)
Package Create Date: 2013-07-30
Package Last Update: 2013-10-16
Language: PHP
License: Unknown
Last Refreshed: 2024-11-26 15:06:58
Package Statistics
Total Downloads: 739
Monthly Downloads: 1
Daily Downloads: 0
Total Stars: 7
Total Watchers: 2
Total Forks: 1
Total Open Issues: 0

laravel-validators Build Status Coverage Status

A set of additional validator rules for Laravel 4

Installation

  1. Add the following to your composer.json and run composer update

    {
        "require": {
            "schickling/validators": "dev-master"
        }
    }
    
  2. Add Schickling\Validators\ValidatorsServiceProvider to your config/app.php

Available Rules

Boolean

'isEnabled' => 'boolean'

Optional

'isOptional' => 'optional'

Bankaccounts

'myIban' => 'iban',
'myBic' => 'bic'

Upcoming Features

  • Number precision rule
  • language specific string rule (umlauts etc)
  • Array validation

Bitdeli Badge