cohensive / str
String replacement class for Laravel 4
Installs: 121
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/cohensive/str
Requires
- php: >=5.3.0
This package is auto-updated.
Last update: 2025-09-08 08:48:59 UTC
README
Same functionality as core String class, but with correctly and reliably working transliteration.
Installation
Add following require to your composer.json
file:
"cohensive/str": "dev-master"
Then run composer install
or composer update
to download it and autoload.
In providers
array you need to add new package:
'providers' => array(
//...
'Cohensive\Str\StrServiceProvider',
//...
)
In aliases:
'aliases' => array(
//...
'Str' => 'Cohensive\Str\Facades\Str'
//...
)
and comment out:
//...
//'Str' => 'Illuminate\Support\Str'
//...