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"
Edit your app/config/app.php
file and add the following to the providers
array:
'BigElephant\String\StringServiceProvider',
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'