PHPackages                             wernerdweight/stringy - 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. wernerdweight/stringy

ActiveLibrary

wernerdweight/stringy
=====================

Generic enhanced exception to be used in other projects

1.0.0(3y ago)13.1k1MITPHPPHP &gt;=8.1

Since Jun 6Pushed 3y ago1 watchersCompare

[ Source](https://github.com/wernerdweight/Stringy)[ Packagist](https://packagist.org/packages/wernerdweight/stringy)[ Docs](https://github.com/wernerdweight/Stringy)[ RSS](/packages/wernerdweight-stringy/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (5)Dependencies (4)Versions (6)Used By (1)

Stringy
=======

[](#stringy)

PHP Stringy object with consistent and predictable API

[![Build Status](https://camo.githubusercontent.com/7daf9942b1445ba6c34db95205bb5c64153e80349f3ec32cbf119aae7762d5cf/68747470733a2f2f6170702e7472617669732d63692e636f6d2f7765726e6572647765696768742f537472696e67792e7376673f6272616e63683d6d6173746572)](https://app.travis-ci.com/wernerdweight/Stringy)[![Latest Stable Version](https://camo.githubusercontent.com/18e7d034fc6635374c2090d5d7300bd5d743ea1b9415c5477ed69eb252c036e7/68747470733a2f2f706f7365722e707567782e6f72672f7765726e6572647765696768742f737472696e67792f762f737461626c65)](https://packagist.org/packages/wernerdweight/stringy)[![Total Downloads](https://camo.githubusercontent.com/017ee9de636135185c55dccd9f03db8e9fcd035f5d0d7350f32a71870aefb3a2/68747470733a2f2f706f7365722e707567782e6f72672f7765726e6572647765696768742f737472696e67792f646f776e6c6f616473)](https://packagist.org/packages/wernerdweight/stringy)[![License](https://camo.githubusercontent.com/251bf51fdb31f4397ae40f019a8554d88b1bdae0387354231f9eb97675335bc9/68747470733a2f2f706f7365722e707567782e6f72672f7765726e6572647765696768742f737472696e67792f6c6963656e7365)](https://packagist.org/packages/wernerdweight/stringy)

Instalation
-----------

[](#instalation)

1. Download using composer

```
composer require wernerdweight/stringy
```

2. Use in your project

```
use WernerDweight\Stringy\Stringy;

$stringy = new Stringy('This is a string');
echo $string
    ->toLowercase()    // this is a string
    ->replace(' ', '-')    // this-is-a-string
    ->convertCase(Stringy::KEBAB, Stringy::PASCAL)   // ThisIsAString
    ->reverse();    // gnirtSAsIsihT
```

API
---

[](#api)

TODO:

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity71

Established project with proven stability

 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 ~339 days

Total

5

Last Release

1173d ago

Major Versions

0.2.1 → 1.0.02023-02-21

PHP version history (2 changes)0.1.0PHP &gt;=7.2.0

1.0.0PHP &gt;=8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/5b1454d4a92d76c33018ef518335ec921cf3eadbe591437c47622510f465c9ed?d=identicon)[wernerdweight](/maintainers/wernerdweight)

---

Top Contributors

[![wernerdweight](https://avatars.githubusercontent.com/u/2445436?v=4)](https://github.com/wernerdweight "wernerdweight (18 commits)")

---

Tags

stringobject

### Embed Badge

![Health badge](/badges/wernerdweight-stringy/health.svg)

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

###  Alternatives

[myclabs/deep-copy

Create deep copies (clones) of your objects

8.9k849.8M169](/packages/myclabs-deep-copy)[symfony/property-access

Provides functions to read and write from/to an object or array using a simple string notation

2.8k295.3M2.5k](/packages/symfony-property-access)[symfony/string

Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way

1.8k724.1M825](/packages/symfony-string)[twig/string-extra

A Twig extension for Symfony String

21946.0M132](/packages/twig-string-extra)[cakephp/utility

CakePHP Utility classes such as Inflector, String, Hash, and Security

12027.1M63](/packages/cakephp-utility)[zbateson/mb-wrapper

Wrapper for mbstring with fallback to iconv for encoding conversion and string manipulation

4948.6M5](/packages/zbateson-mb-wrapper)

PHPackages © 2026

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