infureal/php-stringable

String helper class for better experience

1.0.0 2020-08-03 19:27 UTC

This package is auto-updated.

Last update: 2024-11-29 06:28:43 UTC


README

Packagist License Packagist Version Packagist Downloads Packagist PHP Version Support GitHub code size in bytes

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