2017 © Pedro Peláez
 

project validater

Boilerplate package for creating other packages.

image

aldorg/validater

Boilerplate package for creating other packages.

  • Wednesday, April 12, 2017
  • by AldoRG
  • Repository
  • 1 Watchers
  • 0 Stars
  • 12 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Validater Package

create an validator library for projects on PHP, easy to implement., (*1)

Getting Started

This is a simple library to validate types of data, including numbers, emails, etc. You can copy this package from composer or via github., (*2)

Prerequisites

For download with composer or git, you need:, (*3)

* Composer
* Git
* PHP

Installing

In your project folder run, once composer installed, (*4)

Composer:, (*5)

composer require aldorg/validater

GitHub:, (*6)

https://github.com/AldoRG/validater.git

Code Examples

All methods needs the data type to validate and is going to return a boolean result, you can validate different types of data using the methods below:, (*7)

Validater::validateEmail("name@example.com");

Available methods:, (*8)

* validateBoolean
* validateEmail
* validateInteger
* validateArray
* validateNumeric
* validateString
* validateUrl
* validateAlpha
* validateAlphaNum
* validateDate

Running the tests

You can test this repository creating a new class in the Test folder, and using PHPUnit. Run your test cases using:, (*9)

vendor/bin/phpunit

Built With

  • PHP - PHP language
  • Git - Version Control System
  • PHPUnit - Programmer-oriented testing framework for PHP

Contributing

Everyone can contributing to the library, ask me for the process for submitting pull requests to us., (*10)

Versioning

For the versions available, see the tags on this repository., (*11)

Authors

  • Aldo Ruiz - Initial work - AldoRG

See also the list of contributors who participated in this project., (*12)

The Versions

12/04 2017

dev-master

9999999-dev

Boilerplate package for creating other packages.

  Sources   Download

proprietary

The Requires

  • php >=5.4

 

The Development Requires

by Aldo Ruiz

template composer package

03/04 2017

v0.1

0.1.0.0

Boilerplate package for creating other packages.

  Sources   Download

proprietary

The Requires

  • php >=5.4

 

The Development Requires

by Aldo Ruiz

template composer package