wishfoundry / str

A port of Laravel 3's Str class

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Meido Str Build Status

A port of Laravel 3's Str class. Made to work with Laravel 4.

Usage

Composer Side

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.*"
},
...
...
...

Laravel Side

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.

Changelog

1.0.*

  • tagged for stable release. (1.0.0)

Things to note

  • Pluralizers are not supported.
  • ascii & slug method are not supported.

About

A port of Laravel 3's Str class


Languages

Language:PHP 100.0%