Helper class for working with and manipulating strings.
v0.7.0 - Updated, 17 des 2021 + Upgraded source to PHP 8.0
v0.5.0 - Updated, 31 may 2020
Example of usage, with basic features out of the box:
$str = new strbuddy;
echo $str->dirify($filename); // Valid directory / filename
Outputs:
Install the composer package:
> composer require steinhaug/strbuddy
Or download the latest release and include strbuddy.php.
This library is released under the MIT license.
Buy me a beer, donate.