Download the PHP package tamedevelopers/validator without Composer

On this page you can find all versions of the php package tamedevelopers/validator. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package validator

PHP Form Validator - PFV

Total Downloads Latest Stable Version License Code Coverage

Documentation

Requirements

Installation

Prior to installing validator package get the Composer dependency manager for PHP because it'll simplify installation.

Instantiate — Instantiate class using

Laravel Support

Methods That Should Always Come First

Methods Description
->errorType() bool to format error's on display: single or multiple
->token() bool to Enable or Disable csrf_token for each request
->post() Convert Form request to POST only
->get() Convert Form request to GET only
->all() Convert Form request to any

Global Configuration

Array Keys Description
request String POST\|GET\|ALL Default POST
error_type Boolean true\|false Default false
csrf_token Boolean true\|false Default true
class Array error\|success error class type to be returned on both success and failure

Csrf

Csrf Form Input

Sample Csrf Form Input

Csrf Token

USAGE

Error Type

Error Description
false Default Errors displayed one after another
true This allow all errors to be displayed once, as an array

Token

Error Description
false Default Will disable csrf_token usage
true This allow csrf_token per request only

POST

GET

All

Rules

DATA TYPE INPUT_NAME COMPARISON OPERATOR VALUE TO COMPARE
string : country : == : 0
email : email :

Validate

Save

Data Types

Data types abbr Description
email e Email data validation
bool b Boolean data validation
string s String data validation
str_len sl String Length validation
enum en Enum Forms checkbox \| radio or any form data that normally has no value when not checked
array a Array data validation
float f Float data validation
int i Int data validation
url u Url data validation

Operators

sign Description
== Equal to
=== Strictly Equal to
!= Not Equal To
!== Not Strictly Equal To
> Greater than
>= Greater than or Equal to
< Less than
<= Less than or Equal to
< > Less than or Greater than
<&&> Less than and Greater than

noInterface

Before

After

Has Error

Is Validated

Reset Error

Only

Except

Has

Old

Sample Session Schema

GetForm

Merge

Only Data

Keys Data
array Main data to select from

Except Data

Keys Data
Keys are array Main data to select from

Get Message and Class

key Description
message Message This convert all error messages and return as a string with <br>
class Class name Class name on error and success

Sample Session Schema

Collection

Collection Methods

Methods Description
toArray() array Convert items to array
toObject() object Convert items to object
toJson() string Convert items to json

toObject

toArray

toJson

Helpers

function Description
old() Inherit instance of (new Validator) old() method
form() Return instance of (new Validator) class

Useful links


All versions of validator with dependencies

PHP Build Version
Package Version
Requires php Version >=8.0
tamedevelopers/support Version *
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package tamedevelopers/validator contains the following files

Loading the files please wait ....