String manipulation for Laravel 4
Same functionality as core String class, but with correctly and reliably working transliteration., (*1)
Installation
Add following require to your composer.json file:, (*2)
"cohensive/str": "dev-master"
Then run composer install or composer update to download it and autoload., (*3)
In providers array you need to add new package:, (*4)
'providers' => array(
//...
'Cohensive\Str\StrServiceProvider',
//...
)
In aliases:, (*5)
'aliases' => array(
//...
'Str' => 'Cohensive\Str\Facades\Str'
//...
)
and comment out:, (*6)
//...
//'Str' => 'Illuminate\Support\Str'
//...