talira

Compare

Respect\ValidationWebmozart AssertAssert (beberlei/assert)EmailValidator
What it isFluent validation engine for PHP with more than 150 validatorsAssertions to validate PHP method input and output with clear error messagesThin assertion library for input validation in PHP business models and librariesPHP email address validation against the email RFCs
KindOpen sourceOpen sourceOpen sourceOpen source
Trust0.530.590.500.55
Stars60357643242511641
Last commit2026-10-022026-11-172026-11-052026-11-22
LicenceMITMITBSD-2-ClauseMIT
PricingFree and open sourceFree and open sourceFree and open sourceFree and open source
Free tierYesYesYesYes
Self-hostable————
Ways to run it————
SOC 2————
HIPAA————
SSO————
API————
Plugins————
MCP server————
CompanyRespectBernhard SchussekBenjamin EberleiEduardo Gulias Davis
Features
  • chainable fluent validation rules
  • 150+ tested validators
  • advanced exception handling
  • Assertions that throw InvalidArgumentException with readable messages
  • Custom error messages with consistent placeholder ordering
  • nullOr and all variants of every assertion
  • Psalm assertion annotations and a native Psalm plugin for type inference
  • Overridable hooks for value formatting and failure reporting
  • static assertion methods that throw on failure
  • nullOr and all helpers
  • fluent Assert::that() chains
  • lazy assertions that report every failure at once
  • custom exception messages and your own assertion class
  • RFC 5321, 5322, 6530, 6531, 6532 and 1035 validation
  • strict validation that fails on RFC warnings
  • DNS check for records showing the domain accepts email
  • Message-ID validation (RFC 2822)
  • spoof check for look-alike multi-byte characters
  • combine validations with a logical AND, or add your own
Limitations
    • Needs PHP 8.2 or later with the ctype, date and filter extensions
      • Needs PHP 8.1 or newer.
      • The DNS and spoof checks need PHP's intl extension.
      • The DNS check only shows the domain accepts mail, not that the address exists.