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

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

rubricate/str
=============

A lightweight and minimalist PHP library for string manipulation and formatting.

v4.0.0(1mo ago)010MITPHPPHP &gt;=8.2

Since Jul 10Pushed 1mo agoCompare

[ Source](https://github.com/rubricate/str)[ Packagist](https://packagist.org/packages/rubricate/str)[ RSS](/packages/rubricate-str/feed)WikiDiscussions main Synced 1w ago

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

RubricatePHP Str
================

[](#rubricatephp-str)

[![Maintainer](https://camo.githubusercontent.com/12ec67552930b171d896cce3a73e9f9ff96c1d805edf534227f34a9c929bf4f9/687474703a2f2f696d672e736869656c64732e696f2f62616467652f6d61696e7461696e65722d406573746566616e696f6e73616e746f732d626c75652e7376673f7374796c653d666c61742d737175617265)](https://estefanionsantos.github.io/)[![Source Code](https://camo.githubusercontent.com/cbc25c2ebf293d09a22bedeca3df80736f8dd229e3d93e5e95e133d8fede1990/687474703a2f2f696d672e736869656c64732e696f2f62616467652f736f757263652d7275627269636174652f7374722d626c75652e7376673f7374796c653d666c61742d737175617265)](https://github.com/rubricate/str)[![PHP from Packagist](https://camo.githubusercontent.com/c566dbe8a4aeca37363ea45cc619144967eec035124e54429576bd70f6ef6838/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f7275627269636174652f7374722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/rubricate/str)[![Latest Version](https://camo.githubusercontent.com/75723660487897a1a4f4c94e8163e1f9c8de2c9a769cef7f3e204cb02c161d9e/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f7275627269636174652f7374722e7376673f7374796c653d666c61742d737175617265)](https://github.com/rubricate/str/releases)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Total Downloads](https://camo.githubusercontent.com/918786012622a5cdc2bf429a8fafcce0aab19899181e05ec522f36b9770707be/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7275627269636174652f7374722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/rubricate/str)

A lightweight and minimalist PHP library for string manipulation and formatting.

#### Last Version

[](#last-version)

```
$ composer require rubricate/str

```

- Documentation is at
- issues:

Structure suggestion
--------------------

[](#structure-suggestion)

- Example: [rubricate/kickoff](https://github.com/rubricate/kickoff)

### Credits

[](#credits)

- [All Contributors](https://github.com/rubricate/str/contributors) (Let's program)

### License

[](#license)

The MIT License (MIT). Please see [License File](https://github.com/rubricate/str?tab=MIT-1-ov-file) for more information.

###  Health Score

40

—

FairBetter than 86% of packages

Maintenance90

Actively maintained with recent releases

Popularity5

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity49

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

4

Last Release

48d ago

Major Versions

v1.0.0 → v2.2.02026-07-10

v2.2.0 → v3.0.02026-07-10

v3.0.0 → v4.0.02026-07-11

PHP version history (4 changes)v1.0.0PHP &gt;=5.4

v2.2.0PHP &gt;=7.2

v3.0.0PHP &gt;=8.0

v4.0.0PHP &gt;=8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/f70ecd39117d58aa585338ef0c5021c6df35cc5a67080ffe20f8af512fea592c?d=identicon)[estefanionsantos](/maintainers/estefanionsantos)

---

Top Contributors

[![estefanionsantos](https://avatars.githubusercontent.com/u/6088043?v=4)](https://github.com/estefanionsantos "estefanionsantos (28 commits)")

---

Tags

formatterstringmanipulationutilitiesstrrubricate

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[danielstjules/stringy

A string manipulation library with multibyte support

2.4k26.4M193](/packages/danielstjules-stringy)[voku/stringy

A string manipulation library with multibyte support

1804.0M28](/packages/voku-stringy)[pragmarx/ia-str

Laravel Illuminate Agnostic Str

523.6M5](/packages/pragmarx-ia-str)[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)

37110.6k3](/packages/hallindavid-manny)[statamic/stringy

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

245.2M19](/packages/statamic-stringy)[tcb13/substringy

A sub string manipulation library with multibyte support that extends Stringy

1761.1k1](/packages/tcb13-substringy)

PHPackages © 2026

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