A port of Laravel 3's Str class. Made to work with Laravel 4.
add "meido/str": "1.0.*"
to the require
section of your composer.json
so that it should look something the code below (you can, of course, include your own dependencies)
...
...
...
"require": {
...
...
...
"meido/str": "1.0.*"
},
...
...
...
add the following code to the providers
section of the app/config/app.php
file
'Meido\Str\StrServiceProvider',
so that it'll look something like the following
'providers' => array(
...
...
...
'Meido\Str\StrServiceProvider',
),
and add the following code to the aliases
section of the app/config/app.php
file
'Str' => 'Meido\Form\StrFacade',
so that it'll look something like the following
'aliases' => array(
...
...
...
'Str' => 'Meido\Form\StrFacade',
),
after that, run composer install
and start hacking on that beast.
- tagged for stable release. (1.0.0)
- Pluralizers are not supported.
ascii
&slug
method are not supported.