2017 © Pedro Peláez
 

library package-validation

ZN Framework Validation Package

image

znframework/package-validation

ZN Framework Validation Package

  • Sunday, July 29, 2018
  • by znframework
  • Repository
  • 3 Watchers
  • 0 Stars
  • 171 Installations
  • PHP
  • 2 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 18 Versions
  • 49 % Grown

The README.md

, (*1)

ZN Framework Validation Package

Follow the steps below for installation and use. , (*2)

Installation

You only need to run the following code for the installation. , (*3)

composer require znframework/package-validation

Documentation

Click for documentation of your library. , (*4)

Example Usage

Basic level usage is shown below. , (*5)

<?php require 'vendor/autoload.php';

ZN\ZN::run();

use ZN\Request\Post;

Post::username('ExampleUser');
Post::password('1234');

Validation::rules('username', ['required', 'email'], 'Username:');
Validation::rules('password', ['required', 'minchar' => 8, 'maxhar' => 32], 'Username:');

Output::display(Validation::error());

The Versions

28/07 2018
30/05 2018
06/03 2018
25/01 2018
20/01 2018