2017 © Pedro Peláez
 

library validation

The Empari Validation package.

image

empari/validation

The Empari Validation package.

  • Tuesday, July 25, 2017
  • by adrianodrix
  • Repository
  • 1 Watchers
  • 0 Stars
  • 1 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

Empari/Validation

The Empari Validation package., (*1)

Installation

Composer

Execute the following command to get the latest version of the package:, (*2)

composer require empari/validation

Laravel

In your config/app.php add Empari\Validation\ValidationServiceProvider::class to the end of the providers array:, (*3)

'providers' => [
    ...
    Empari\Validation\ValidationServiceProvider::class,
],

Run commands for validation:, (*4)

echo app('validation.cnpj')->validate('66.204.558/0001-05');
echo app('validation.cpf')->validate('628.786.185-13');
echo app('validation.cnpjcpf')->validate('62878618513');
echo app('validation.credit_card')->validate('5502232564641117');
echo app('validation.insc_estadual')->validate('pr', '70.103.83.63-8');

The Versions

25/07 2017

dev-develop

dev-develop

The Empari Validation package.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Adriano Santos

25/07 2017

dev-master

9999999-dev

The Empari Validation package.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Adriano Santos

25/07 2017

1.0.1

1.0.1.0

The Empari Validation package.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Adriano Santos

24/07 2017

1.0.0

1.0.0.0

The Empari Validation package.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Adriano Santos