KaneCohen / laravel-str by KaneCohen

String replacement class for Laravel 4
117
0
2
Package Data
Maintainer Username: KaneCohen
Maintainer Contact: kanecohen@gmail.com (Kane Cohen)
Package Create Date: 2013-09-07
Package Last Update: 2013-12-11
Language: PHP
License: BSD-3-Clause
Last Refreshed: 2024-12-19 03:16:53
Package Statistics
Total Downloads: 117
Monthly Downloads: 1
Daily Downloads: 0
Total Stars: 0
Total Watchers: 2
Total Forks: 0
Total Open Issues: 0

String manipulation for Laravel 4

Same functionality as core String class, but with correctly and reliably working transliteration.

Installation

Add following require to your composer.json file:

    "cohensive/str": "dev-master"

Then run composer install or composer update to download it and autoload.

In providers array you need to add new package:

'providers' => array(

	//...
	'Cohensive\Str\StrServiceProvider',
	//...

)

In aliases:

'aliases' => array(

	//...
	'Str' => 'Cohensive\Str\Facades\Str'
	//...

)

and comment out:

	//...
	//'Str' => 'Illuminate\Support\Str'
	//...