An open API service indexing awesome lists of open source software.

https://github.com/schickling/laravel-validators

A set of additional validator rules for Laravel 4
https://github.com/schickling/laravel-validators

Last synced: about 1 year ago
JSON representation

A set of additional validator rules for Laravel 4

Awesome Lists containing this project

README

          

laravel-validators [![Build Status](https://travis-ci.org/schickling/laravel-validators.png?branch=master)](https://travis-ci.org/schickling/laravel-validators) [![Coverage Status](https://coveralls.io/repos/schickling/laravel-validators/badge.png)](https://coveralls.io/r/schickling/laravel-validators)
==================

A set of additional validator rules for Laravel 4

## Installation

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

```json
{
"require": {
"schickling/validators": "dev-master"
}
}
```

2. Add `Schickling\Validators\ValidatorsServiceProvider` to your config/app.php

## Available Rules

#### Boolean
```php
'isEnabled' => 'boolean'
```

#### Optional
```php
'isOptional' => 'optional'
```

#### Bankaccounts
```php
'myIban' => 'iban',
'myBic' => 'bic'
```

## Upcoming Features

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

[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/schickling/laravel-validators/trend.png)](https://bitdeli.com/free "Bitdeli Badge")