PHPackages                             futape/string-utility - 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. futape/string-utility

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

futape/string-utility
=====================

A library of string utilities

1.2.0(6y ago)0235MITPHPPHP ~7.2.0CI failing

Since Nov 24Pushed 6y ago1 watchersCompare

[ Source](https://github.com/futape/string-utility)[ Packagist](https://packagist.org/packages/futape/string-utility)[ RSS](/packages/futape-string-utility/feed)WikiDiscussions master Synced 6d ago

READMEChangelog (3)Dependencies (2)Versions (4)Used By (5)

futape/string-utility
=====================

[](#futapestring-utility)

This library offers a set of string utilities.

Utility functions are implemented as static functions in an abstract class, which is never expected to be instantiated.

Most functions are implemented multibyte-safe. If not, this is mentioned in the source code.

Install
-------

[](#install)

```
composer require futape/string-utility
```

Usage
-----

[](#usage)

```
use Futape\Utility\String\Strings;

echo Strings::stripLeft('foobar', 'foo'); // "bar"
```

Testing
-------

[](#testing)

The library is tested by unit tests using PHP Unit.

To execute the tests, install the composer dependencies (including the dev-dependencies), switch into the `tests`directory and run the following command:

```
../vendor/bin/phpunit
```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

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

Total

3

Last Release

2330d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2039b7c5a64766be0d130dbd8f7cfa4e3863c3c8b54eca6466c0974311fe6ccd?d=identicon)[futape](/maintainers/futape)

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/futape-string-utility/health.svg)

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

###  Alternatives

[igbinary/igbinary

Igbinary is a drop in replacement for the standard php serializer. Instead of the time and space consuming textual representation used by PHP's serialize(), igbinary stores php data structures in a compact binary form. Savings are significant when using memcached or similar memory based storages for serialized data.

7801.7k](/packages/igbinary-igbinary)[teknoo/states

Library to create classes following the State pattern in PHP. This can be a cleaner way for an object to change its behavior at runtime without resorting to large monolithic conditional statements and this improve maintainability and workflow writing.

1138.5k18](/packages/teknoo-states)[andychukse/laravel-pricing-plans

A package provide pricing plans for Laravel.

121.8k](/packages/andychukse-laravel-pricing-plans)

PHPackages © 2026

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