New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

cohensive/str

String replacement class for Laravel 4
123
Install
composer require cohensive/str
Latest Version:4.0.0
PHP:>=5.3.0
License:BSD-3-Clause
Last Updated:Dec 11, 2013
Links: GitHub  ·  Packagist
Maintainer: KaneCohen

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'
	//...

Related Packages

bassam-nab/laravel-arabic-slug

laravel-arabic-slug.

6 1
cocur/slugify

Converts a string into a slug.

76,797,123 2,894
jaybizzle/safeurl

A Laravel package to create safe, SEO friendly urls

102,519 17
jellybool/translug

Translate Chinese And Then Make It Sluggable

47,205 145
laraplus/string

A nice fluid interface for string manipulation.

5,650 4

Version History

Version Released PHP License
4.0.0 >=5.3.0 BSD-3-Clause