Skip to content

Latest commit

 

History

History
46 lines (28 loc) · 1.17 KB

File metadata and controls

46 lines (28 loc) · 1.17 KB

Helper Classes

Arrays

A class for array manipulation. It includes functions for sorting arrays, imploding arrays, renaming keys in arrays, and more. View the documentation

Attempts

A class for matching a pattern in a given string using regular expressions. View the documentation

ClassRetriever

A class for retrieving information about a PHP class, interface, or trait from a file. View the documentation

HtmlLinks

This class provides support for adding target="_blank" rel="noopener noreferrer" to external links. View the documentation

Matches

This class add a wrapper around the regular expression functions in php. View the documentation

Strings

This class provides a constant to reference a blank string.

Example:

use Midnite81\Core\Helpers\Strings;

if ($string === Strings::EMPTY_STRING) {
    echo ('Your string is empty');
}

UserAgent

This class provides a number of methods to check if the user agent string matches a specific pattern. View the documentation