Skip to content

Release version 2.0.1

Latest

Choose a tag to compare

@phpdevcommunity phpdevcommunity released this 21 Nov 14:45

Features:

  • Added addRequiredIf for conditional requirements based on other option values.
  • Added deprecate method to mark options as deprecated and trigger E_USER_DEPRECATED warnings.
  • Added min and max constraints helpers for string length, numeric values, and array counts.
  • Added support for chaining multiple validators on a single option.

Documentation:

  • Added documentation for conditional requirements, deprecation, min/max constraints, and multiple validators (EN/FR).

Composer:

  • Updated project description and author homepage.
  • Added ext-mbstring requirement.