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

You Might Also Like
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

The database for AI-powered applications.

MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Start Free
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