bigelephant / string
A string helper task with built in classes to easily add to Laravel 4
Installs: 1 692
Dependents: 0
Suggesters: 0
Security: 0
Stars: 12
Watchers: 2
Forks: 2
Open Issues: 0
Requires
- php: >=5.3.0
Requires (Dev)
- mockery/mockery: 0.7.2
This package is auto-updated.
Last update: 2024-11-22 04:54:08 UTC
README
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:
'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'