znframework / package-validation
ZN Framework Validation Package
Installs: 7 261
Dependents: 6
Suggesters: 0
Security: 0
Stars: 0
Watchers: 4
Forks: 0
Open Issues: 0
Requires
- php: >=7.0.0
- znframework/package-captcha: >=6.0
- znframework/package-datetime: >=6.0
- znframework/package-security: >=6.0
- znframework/package-storage: >=6.0
- znframework/package-zerocore: >=6.0
README
ZN Framework Validation Package
Follow the steps below for installation and use.
Installation
You only need to run the following code for the installation.
composer require znframework/package-validation
Documentation
Click for documentation of your library.
Example Usage
Basic level usage is shown below.
<?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());