Download the PHP package yiiy/argus without Composer
On this page you can find all versions of the php package yiiy/argus. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package argus
Lightweight PHP Data Validator
Argus is a PHP package designed to simplify and streamline data validation tasks in your applications. It offers a comprehensive set of validation rules to ensure the integrity and accuracy of your data.
Features
- Common Validations: Perform checks for required fields, email format, string values, numeric values, and length restrictions.
- Range Validation: Ensure numeric data falls within a specific range.
- Customization: Easily define custom validation rules to meet your specific needs.
- Error Reporting: Get clear and informative error messages to identify invalid data points.
Installation
You can install the package using Composer:
Usage
The package provides a simple and intuitive API for data validation. Here's a basic example:
Supported Validations
required
Checks if a field is present and not empty.string
Checks if a field value is a string.numeric
Checks if a field value is numeric.email
Checks if a field value is a valid email address.length:min:max
Checks if the field value length falls within the specified range (min and max are integers).between:min:max
Checks if a numeric field value falls within the specified range (min and max are integers).
License
This project is licensed under the MIT License - see the LICENSE file for details.
All versions of argus with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.4
The package yiiy/argus contains the following files
Loading the files please wait ....