PHP Stringable class This package is inspired by laravel/laravel facade Str Install composer require infureal/php-stringable How to use $str = \Infureal\Str::of('HELLO') ->lower(); echo $str; // hello echo $str->upperFirst(); // Hello