A string helper task with built in classes to easily add to Laravel 4



This is a string helper class for things like turning strings into URL friendly slugs.

To install add the following to your composer.json file:

"bigelephant/string": "dev-master"

To use it within Laravel do the following

Edit your app/config/app.php file and add the following to the providers array:


And then so you can use it from the String alias (or Str, if you choose so then replace String with Str in the following) add the following line to the aliases array:

'String' => 'BigElephant\String\StringFacade'

Build Status