Browse: Home / Classes /

Is_URL

Is_URL

Validation rule to ensure a value is a valid URL.


Description #


Source #

File: src/Core/Validations/Rules/Is_URL.php


Changelog #

Changelog
Version Description
4.21.1 Introduced.


Methods #

  • __invoke — Validates that the value is a valid URL.
  • fromString — Creates a new instance of the validation rule from a string.
  • id — Returns the unique identifier for the validation rule.
  • serializeOption — Returns a serializable representation of the validation rule options.