Maintenance Mode Gate
Allows only approved admins or IPs through during maintenance while showing safe public responses.
Open FunctionReusable pure PHP functions for everyday application and LAMP stack work.
Allows only approved admins or IPs through during maintenance while showing safe public responses.
Open FunctionTrims, lowercases domain, validates format, and returns a normalized email value.
Open FunctionCreates a clean SEF slug from a title while preserving readability and uniqueness support.
Open FunctionAdds numeric suffixes or ID prefixes when a generated slug already exists.
Open FunctionNormalizes phone numbers into a display value and optional E.164-like storage form.
Open FunctionValidates postal codes against country-specific patterns when configured.
Open FunctionParses currency strings into integer minor units for safe storage and calculations.
Open FunctionValidates start/end dates, order, allowed span, timezone, and boundary rules.
Open FunctionDecodes JSON and validates required keys, types, and nesting depth.
Open FunctionChecks uploaded CSV headers against required, optional, and forbidden columns.
Open FunctionCleans plain text without destroying legitimate punctuation, accents, or line breaks.
Open FunctionCleans a limited subset of HTML tags for trusted admin-authored content and removes common script/event-handler risks.
Open Function