| Install | |
|---|---|
composer require dictate/string |
A port of Laravel 3's Str class for Laravel 4.
###Installing with composer
Add "dictate/string": "1.0.*" to the require section of your composer.json file
"require": {
"dictate\string": "1.0.*"
}
Run composer install and you are done.
###Configuration
Add the following codes to the providers and aliases section in your app\config\app.php file
'providers' => array(
...
...
'Dictate\String\StringServiceProvider',
),
'aliases' => array(
...
...
'Str' => 'Dictate\String\StringFacade',
),
##Usage
The documentation can be found on the Laravel website here