For certain types you can't make comparisons out of the box in PHP but Validation brings support to a few of them. You can also create and use your own rules. To do this, you will need to create a rule and an exception to go with the rule. Each rule must have an Exception to go with it. Exceptions should be named with the name of the rule followed by the word Exception. The process of creating an Exception is similar to creating a rule but there are no methods in the Exception class. On oldest versions of Respect\Validation all validators treat input as optional and accept an empty string input as valid. Even though a useful feature that caused a lot of troubles for our team and neither was an obvious behavior. Also there was some people who likes to accept null as optional value, not only an empty string.

Features

  • The most awesome validation engine ever created for PHP
  • Granularity control for advanced reporting
  • More than 150 (fully tested) validation rules
  • A concrete API for non fluent usage
  • Single character string
  • For certain types you can't make comparisons out of the box in PHP but Validation brings support to a few of them

Project Samples

Project Activity

See All Activity >

Categories

Security

License

MIT License

Follow Respect\Validation

Respect\Validation Web Site

Other Useful Business Software
Full-stack observability with actually useful AI | Grafana Cloud Icon
Full-stack observability with actually useful AI | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Respect\Validation!

Additional Project Details

Programming Language

PHP

Related Categories

PHP Security Software

Registered

2021-10-01