Download the PHP package lbdawkes/request-helper without Composer
On this page you can find all versions of the php package lbdawkes/request-helper. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download lbdawkes/request-helper
More information about lbdawkes/request-helper
Files in lbdawkes/request-helper
Download lbdawkes/request-helper
More information about lbdawkes/request-helper
Files in lbdawkes/request-helper
Vendor lbdawkes
Package request-helper
Short Description Provides helper methods for PHP request validation
License MIT
Package request-helper
Short Description Provides helper methods for PHP request validation
License MIT
Please rate this library. Is it a good library?
Informations about the package request-helper
Provides Laravel-like request validation without all the overhead.
Note: More rules are still yet to be added
Basic Usage
Available Methods
Method | Purpose |
---|---|
validateGet | Validates GET parameters |
validatePost | Validates POST parameters |
Available Rules
Name | Behaviour | Example |
---|---|---|
required | A required parameter | |
required_without:parameter | Parameter is only required when another is missing | |
null | Checks that parameter is null | |
string | Checks parameter only contains alphanumeric characters | |
bool | Checks parameter is a valid boolean value | |
Checks parameter is a valid email | ||
decimal | Checks parameter is a valid decimal number | |
phone | Checks parameter is a valid phone number | |
array | Checks parameter is a valid array | |
same_as:parameter | Checks that parameter is the same as another |
All versions of request-helper with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.3.0
The package lbdawkes/request-helper contains the following files
Loading the files please wait ....