playinteractive / tools
Basic tools for website development.
dev-master
2019-06-30 23:42 UTC
Requires
- php: >=5.0.0
This package is not auto-updated.
Last update: 2024-09-29 08:17:52 UTC
README
Basic tools for website development.
Install
$ composer require playinteractive/tools dev-master
Example
use Functions\Tool; # HTTPS Tool::https() ? 'https' : 'http'; # Status Code Tool::statusCode(404); # Validate Text Tool::validateText($text, $db = FALSE, $tag = FALSE, $textarea = FALSE, $decoration = TRUE); # Replace String Tool::replaceString($string, $separator = FALSE, $allow = FALSE);