Skip to content

infureal/php-stringable

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHP Stringable class

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