adbros/utils

v0.1.2 2020-09-07 13:33 UTC

This package is auto-updated.

Last update: 2021-04-07 14:46:35 UTC


README

Class: \Adbros\Utils\StringsUtil

Visibility Function
public static anonymizeEmail(\string $email) : void
Anonymize e-mail john.doe@domain.com => jo*****e@domain.com

Class: \Adbros\Utils\ValidatorsUtil

Visibility Function
public static isIp(\string $value) : bool
Verifies that the value is valid IP address
public static isPasswordStrong(\string $value) : bool
Verifies that the value is strong password (contains 8 characters, 1 lowercase letter, 1 uppercase letter and 1 digit)