PHPackages                             ssolweb/string-morpher - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. ssolweb/string-morpher

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

ssolweb/string-morpher
======================

A powerful string manipulation library

v1.1.4(6d ago)22321↓67.9%3[5 issues](https://github.com/SSolWEB/string-morpher/issues)1MITPHPPHP &gt;=8.0CI passing

Since Mar 21Pushed 6d ago1 watchersCompare

[ Source](https://github.com/SSolWEB/string-morpher)[ Packagist](https://packagist.org/packages/ssolweb/string-morpher)[ Docs](https://ssolweb.github.io/string-morpher/)[ RSS](/packages/ssolweb-string-morpher/feed)WikiDiscussions main Synced 2d ago

READMEChangelog (10)Dependencies (6)Versions (18)Used By (1)

String Morpher, A powerful string manipulation library
======================================================

[](#string-morpher-a-powerful-string-manipulation-library)

String Morpher offers a fluent API, specifically designed for string manipulation, allowing developers to chain multiple methods in a seamless and readable manner. This makes it easy to perform complex string manipulations in a single and concise flow without the need for auxiliary functions or manual manipulation.

Status
------

[](#status)

[![Build Status](https://github.com/SSolWEB/string-morpher/actions/workflows/on-push-main.yml/badge.svg)](https://github.com/SSolWEB/string-morpher/actions/workflows/on-push-main.yml)[![Packagist Version](https://camo.githubusercontent.com/3a355b1106d448f7eaed97873ff28eaa8a225e04303107761877059158740e8f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f73736f6c7765622f737472696e672d6d6f7270686572)](https://packagist.org/packages/ssolweb/string-morpher)[![Packagist License](https://camo.githubusercontent.com/dac26382321e7373a30fa31ff8f73ecb44801077f5eefb3bde9ce6ee8465a3a2/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f73736f6c7765622f737472696e672d6d6f7270686572)](https://packagist.org/packages/ssolweb/string-morpher)

Documentation
-------------

[](#documentation)

To see how to use and more details visit: [documentation](https://ssolweb.github.io/string-morpher)

You can start installing:

`composer require ssolweb/string-morpher`

Use:

```
use SSolWEB\StringMorpher\StringMorpher as SM;

// you can chain methods
$string = SM::make($string)
    ->trim()
    ->replace('fox', 'dog')
    ->sub(5, 20)
    ->toLower();

$captalizedAlpha = SM::onlyAlpha($string)
    ->captalize();

$pascalCase = SM::captalize($string)
    ->withoutSpaces();

// and use like a string
echo $string;
echo $captalizedAlpha;
$json = json_encode(['data' => $pascalCase]);

// or return string primitive string value
echo $string->getString();
```

Contributing
------------

[](#contributing)

Please see the [contributing](https://ssolweb.github.io/string-morpher/docs/contributing/) entry for more details.

Credits
-------

[](#credits)

[Vinicius de Santana](https://github.com/viniciusvts)

License
-------

[](#license)

The package is open source software licensed under the [MIT LICENSE](https://ssolweb.github.io/string-morpher/docs/license/).

###  Health Score

48

—

FairBetter than 93% of packages

Maintenance94

Actively maintained with recent releases

Popularity24

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 87.7% 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 ~38 days

Recently: every ~43 days

Total

13

Last Release

6d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/174625277?v=4)[vtsantana](/maintainers/vtsantana)[@vtsantana](https://github.com/vtsantana)

---

Top Contributors

[![viniciusvts](https://avatars.githubusercontent.com/u/18272399?v=4)](https://github.com/viniciusvts "viniciusvts (71 commits)")[![mvanhorn](https://avatars.githubusercontent.com/u/455140?v=4)](https://github.com/mvanhorn "mvanhorn (5 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (3 commits)")[![Copilot](https://avatars.githubusercontent.com/in/1143301?v=4)](https://github.com/Copilot "Copilot (2 commits)")

---

Tags

laravelstringmanipulationchangesMaskingmorphing

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/ssolweb-string-morpher/health.svg)

```
[![Health](https://phpackages.com/badges/ssolweb-string-morpher/health.svg)](https://phpackages.com/packages/ssolweb-string-morpher)
```

###  Alternatives

[hallindavid/manny

a package of manipulators that hopefully come in useful for those of us who always forget regex when we need it (manny is short for manipulation)

38109.0k3](/packages/hallindavid-manny)[jasonlam604/stringizer

Stringizer is a PHP string manipulation library with support for method chaining and multibyte handling

35110.5k1](/packages/jasonlam604-stringizer)[statamic/stringy

A string manipulation library with multibyte support, forked from @statamic

245.0M18](/packages/statamic-stringy)[danielstjules/sliceable-stringy

Python string slices in PHP

4751.6k1](/packages/danielstjules-sliceable-stringy)[madewithlove/laravel-nova-uuid-support

Adds uuid and other string identifier support to Laravel Nova

28134.1k](/packages/madewithlove-laravel-nova-uuid-support)[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.

2519.3k](/packages/iteks-laravel-enum)

PHPackages © 2026

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