PHP Classes

File: README.md

Recommend this page to a friend!
  Classes of Chun-Sheng, Li   PHP Utility Functions   README.md   Download  
File: README.md
Role: Documentation
Content type: text/markdown
Description: Documentation
Class: PHP Utility Functions
General-purpose utility functions
Author: By
Last change:
Date: 27 days ago
Size: 521 bytes
 

Contents

Class file image Download

util

PHP functions

Installation

composer require odan/util

Functions

  • html - Convert all applicable characters to HTML entities.
  • is_email - Validate a E-Mail address
  • now - ISO date time (Y-m-d H:i:s)
  • uuid - Returns a `UUID` v4 created from a cryptographically secure random value
  • array_value - Return Array element value, with dot notation.
  • encode_utf8 - Encodes an ISO-8859-1 string or array to UTF-8.
  • encode_iso - Returns a ISO-8859-1 encoded string or array
  • read - Read a php file