2017 © Pedro Peláez
 

library validationlib

ValidationLib is a lightweight library of reusable data validation tools

image

phix/validationlib

ValidationLib is a lightweight library of reusable data validation tools

  • Friday, April 4, 2014
  • by stuartherbert
  • Repository
  • 1 Watchers
  • 3 Stars
  • 16,171 Installations
  • PHP
  • 3 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 6 Versions
  • 4 % Grown

The README.md

ValidationLib4

ValidationLib4 is a lightweight collection of classes for validating data. It is inspired by Zend_Validation, but put on a much-needed diet :), (*1)

System-Wide Installation

ValidationLib4 should be installed using the PEAR Installer. This installer is the PHP community's de-facto standard for installing PHP components., (*2)

sudo pear channel-discover pear.phix-project.org
sudo pear install --alldeps phix/ValidationLib4

As A Dependency On Your Component

If you are creating a component that relies on ValidationLib, please make sure that you add ValidationLib to your component's package.xml file:, (*3)

<dependencies>
  <required>
    <package>
      <name>ValidationLib4</name>
      <channel>pear.phix-project.org</channel>
      <min>4.0.0</min>
      <max>4.999.9999</max>
    </package>
  </required>
</dependencies>

Usage

The best documentation for ValidationLib4 are the unit tests, which are shipped in the package. You will find them installed into your PEAR repository, which on Linux systems is normally /usr/share/php/test., (*4)

Development Environment

If you want to patch or enhance this component, you will need to create a suitable development environment. The easiest way to do that is to install phix4componentdev:, (*5)

# phix4componentdev
sudo apt-get install php5-xdebug
sudo apt-get install php5-imagick
sudo pear channel-discover pear.phix-project.org
sudo pear -D auto_discover=1 install -Ba phix/phix4componentdev

You can then clone the git repository:, (*6)

# ValidationLib4
git clone git://github.com/stuartherbert/ValidationLib.git

Then, install a local copy of this component's dependencies to complete the development environment:, (*7)

# build vendor/ folder
phing build-vendor

To make life easier for you, common tasks (such as running unit tests, generating code review analytics, and creating the PEAR package) have been automated using phing. You'll find the automated steps inside the build.xml file that ships with the component., (*8)

Run the command 'phing' in the component's top-level folder to see the full list of available automated tasks., (*9)

License

See LICENSE.txt for full license details., (*10)

The Versions

04/04 2014

dev-develop

dev-develop https://github.com/stuartherbert/ValidationLib/

ValidationLib is a lightweight library of reusable data validation tools

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

exceptions error handling

04/04 2014

dev-master

9999999-dev https://github.com/stuartherbert/ValidationLib/

ValidationLib is a lightweight library of reusable data validation tools

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

exceptions error handling

04/04 2014

4.2.0

4.2.0.0 https://github.com/stuartherbert/ValidationLib/

ValidationLib is a lightweight library of reusable data validation tools

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

exceptions error handling

16/07 2013

4.1.0

4.1.0.0 https://github.com/stuartherbert/ValidationLib/

ValidationLib is a lightweight library of reusable data validation tools

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

exceptions error handling

09/06 2013

4.0.2

4.0.2.0 https://github.com/stuartherbert/ValidationLib/

ValidationLib is a lightweight library of reusable data validation tools

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

exceptions error handling

08/06 2013

4.0.1

4.0.1.0 https://github.com/stuartherbert/ValidationLib/

ValidationLib is a lightweight library of reusable data validation tools

  Sources   Download

BSD-3-Clause

The Requires

  • phix/exceptionslib1 1.*

 

The Development Requires

  • phix/autoloader4 4.*

exceptions error handling