PHPackages                             s-mcdonald/stringfluent - 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. s-mcdonald/stringfluent

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

s-mcdonald/stringfluent
=======================

Powerful and chainable String utility for PHP.

0.0.2(3y ago)07MITPHPPHP &gt;=8

Since May 6Pushed 3y ago1 watchersCompare

[ Source](https://github.com/s-mcdonald/Stringfluent)[ Packagist](https://packagist.org/packages/s-mcdonald/stringfluent)[ Docs](https://github.com/s-mcdonald/Stringfluent)[ RSS](/packages/s-mcdonald-stringfluent/feed)WikiDiscussions develop Synced 1mo ago

READMEChangelog (1)Dependencies (2)Versions (4)Used By (0)

Stringfluent
============

[](#stringfluent)

[![Source](https://camo.githubusercontent.com/b0fa7fe0a303018e8c3063b1480830471bb56c9f5ea456aca9d16eb312905baa/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f736f757263652d535f4d63446f6e616c642d626c75652e737667)](https://github.com/s-mcdonald/Stringfluent)[![Source](https://camo.githubusercontent.com/46ed314e73590919c29d4f70d8319d8462b1d8fcc9892ec2902cdb34f2ddf6fa/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d676f6c642e737667)](https://github.com/s-mcdonald/Stringfluent)

Stringfluent is a String helper that allo you to easily manipulate strings using a fluent and chainable syntax with Multibyte support baked in.

```
        $str = Stringfluent::create("  any form of string, or stringable interface can be used. ");
        $str->toUpperCase()->trim()->truncate(3); // ANY

        $str = Stringfluent::create("プログラミングはクールです");
        $str->containsMultibyteCharacters(); // true
```

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

[](#documentation)

- [Installation](#installation)
- [Dependencies](#dependencies)

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

[](#installation)

Via Composer. Run the following command from your project's root.

```
composer require s-mcdonald/stringfluent

```

Dependencies
------------

[](#dependencies)

- Php 8.0
- extension "ext-mbstring"
- extension "ext-ctype"
- extension "ext-alpha"
- extension "ext-punct"
- extension "ext-graph"
- extension "ext-http"

License
-------

[](#license)

Stringfluent is licensed under the terms of the [MIT License](http://opensource.org/licenses/MIT)(See LICENSE file for details).

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity36

Early-stage or recently created project

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

Total

2

Last Release

1096d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1759b23f11dcfe1753788c7d3fe306af5bfcb11d1e199ccee0b8ad04b70bc00a?d=identicon)[S-McDonald](/maintainers/S-McDonald)

---

Top Contributors

[![s-mcdonald](https://avatars.githubusercontent.com/u/1879824?v=4)](https://github.com/s-mcdonald "s-mcdonald (3 commits)")

---

Tags

stringstring manipulationstringly

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/s-mcdonald-stringfluent/health.svg)

```
[![Health](https://phpackages.com/badges/s-mcdonald-stringfluent/health.svg)](https://phpackages.com/packages/s-mcdonald-stringfluent)
```

###  Alternatives

[nette/utils

🛠 Nette Utils: lightweight utilities for string &amp; array manipulation, image handling, safe JSON encoding/decoding, validation, slug or strong password generating etc.

2.1k394.3M1.5k](/packages/nette-utils)[danielstjules/stringy

A string manipulation library with multibyte support

2.4k26.0M191](/packages/danielstjules-stringy)[opis/string

Multibyte strings as objects

7120.9M7](/packages/opis-string)[spatie/string

String handling evolved

5604.6M24](/packages/spatie-string)[coduo/php-to-string

Simple library that converts PHP value into strings

27112.7M10](/packages/coduo-php-to-string)[kwn/number-to-words

Multi language standalone PHP number to words converter. Fully tested, open for extensions and new languages.

4235.0M21](/packages/kwn-number-to-words)

PHPackages © 2026

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