GUMP Versions Save

A fast, extensible & stand-alone PHP input validation class that allows you to validate any data

v1.7.0

4 years ago
  • Added Hungarian language #299
  • Support for array format to define rules. This should be the prefered way to define rules for both validation and filtering.
$is_valid = GUMP::is_valid(array_merge($_POST, $_FILES), [
    'username' => ['required', 'alpha_numeric'],
    'password' => ['required', 'max_len' => 100, 'min_len' => 6],
    'avatar'   => ['required_file', 'extension' => ['png', 'jpg']]
]);

Check documentation please.

v1.6.2

4 years ago
  • php7.0 patch #297

v1.6.1

4 years ago
  • Added Esperanto translation.
  • Added Japanese translation.
  • Code improvements.

v1.6.0

4 years ago
  • alpha_numeric_dash validator added.

v1.5.11

4 years ago
  • url_exists fix for PHP 7.3 (Update the IDNA_VARAIANT #290)

v1.5.10

4 years ago
  • Bugfix #284
  • Deprecate persian language validator.

v1.5.8

4 years ago

v1.5.8

v1.5.7

5 years ago

v1.5.6

6 years ago

This release includes two important fixes for required and require_file rules (#199 & #198).

v1.5.5

6 years ago

This release includes a fix for min_numeric validation rule.