PHPackages                             cohensive/str - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. cohensive/str

ActiveLibrary

cohensive/str
=============

String replacement class for Laravel 4

4.0.0(12y ago)0121BSD-3-ClausePHPPHP &gt;=5.3.0

Since Sep 7Pushed 12y ago1 watchersCompare

[ Source](https://github.com/KaneCohen/laravel-str)[ Packagist](https://packagist.org/packages/cohensive/str)[ RSS](/packages/cohensive-str/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (3)Used By (0)

String manipulation for Laravel 4
=================================

[](#string-manipulation-for-laravel-4)

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

Installation
------------

[](#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'
	//...

```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

4632d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/578455?v=4)[Kane Cohen](/maintainers/KaneCohen)[@KaneCohen](https://github.com/KaneCohen)

---

Top Contributors

[![KaneCohen](https://avatars.githubusercontent.com/u/578455?v=4)](https://github.com/KaneCohen "KaneCohen (12 commits)")

---

Tags

sluglaravelstring

### Embed Badge

![Health badge](/badges/cohensive-str/health.svg)

```
[![Health](https://phpackages.com/badges/cohensive-str/health.svg)](https://phpackages.com/packages/cohensive-str)
```

###  Alternatives

[jaybizzle/safeurl

A Laravel package to create safe, SEO friendly urls

1786.1k1](/packages/jaybizzle-safeurl)[iteks/laravel-enum

A comprehensive Laravel package providing enhanced enum functionalities, including attribute handling, select array conversions, and fluent facade interactions for robust enum management in Laravel applications.

2516.7k](/packages/iteks-laravel-enum)[blendbyte/filament-title-with-slug

TitleWithSlugInput - Easy Permalink Slugs for the FilamentPHP Form Builder (PHP / Laravel / Livewire)

1322.4k3](/packages/blendbyte-filament-title-with-slug)[matteoggl/linnaeus

A package to create readable, random slugs for Eloquent models from animal names and adjectives.

226.7k](/packages/matteoggl-linnaeus)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
