PHPackages                             ganbarodigital/php-text-tools - 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. ganbarodigital/php-text-tools

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

ganbarodigital/php-text-tools
=============================

1.4.0(10y ago)130.5k↓33.3%4BSD-3-ClausePHPPHP &gt;= 5.5

Since Sep 1Pushed 10y ago1 watchersCompare

[ Source](https://github.com/ganbarodigital/php-text-tools)[ Packagist](https://packagist.org/packages/ganbarodigital/php-text-tools)[ RSS](/packages/ganbarodigital-php-text-tools/feed)WikiDiscussions develop Synced 1mo ago

READMEChangelogDependencies (6)Versions (10)Used By (4)

PHP Text Tools
==============

[](#php-text-tools)

[![GitHub license](https://camo.githubusercontent.com/fa7d5fcf2c84b580327af52da95dd751703af65f079dc3c5a0081beac0789718/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4e65772532304253442d626c75652e737667)](https://raw.githubusercontent.com/ganbarodigital/php-text-tools/develop/LICENSE.md)[![@ganbarodigital on Twitter](https://camo.githubusercontent.com/cfe3f6e7ae9c18f66fa57bed843790e668bd3ac88417017dfe9f45d8f0296cb9/687474703a2f2f696d672e736869656c64732e696f2f62616467652f747769747465722d25343067616e6261726f6469676974616c2d626c75652e7376673f7374796c653d666c6174)](https://twitter.com/ganbarodigital)[![Total Downloads](https://camo.githubusercontent.com/7827edadac28fec269573ac0a38055416cc5af2d6f23ac754b68ee55edef086e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f67616e6261726f6469676974616c2f7068702d746578742d746f6f6c732e7376673f7374796c653d666c6174)](https://packagist.org/packages/ganbarodigital/php-text-tools)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/affa113b1adeb4c6d87d25b431c0491bc24ea9d858c911ee2bff3ce6fdcb6906/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f67616e6261726f6469676974616c2f7068702d746578742d746f6f6c732f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/ganbarodigital/php-text-tools/?branch=master)[![Build Status](https://camo.githubusercontent.com/530297b60a9a7c03f284b46002649eac7aa7201b8594e60e1596e96906b33233/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f67616e6261726f6469676974616c2f7068702d746578742d746f6f6c732f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/ganbarodigital/php-text-tools/build-status/master)[![Coverage Status](https://camo.githubusercontent.com/eae483bac6e01562ffdf93e15eee19e65586a09a5654de94e0046ed49b4f837b/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f67616e6261726f6469676974616c2f7068702d746578742d746f6f6c732f62616467652e737667)](https://coveralls.io/r/ganbarodigital/php-text-tools)[![Dependency Status](https://camo.githubusercontent.com/3d620f155ae38929c37e201746853bf64b144db9c9052b83559cb4b007c27019/68747470733a2f2f7777772e76657273696f6e6579652e636f6d2f7068702f67616e6261726f6469676974616c3a7068702d746578742d746f6f6c732f6465762d6d61737465722f62616467652e737667)](https://www.versioneye.com/php/ganbarodigital:php-text-tools/dev-master)[![Reference Status](https://camo.githubusercontent.com/392b526330bae17e9db36c2143f9c07170a00f6015f2d32eb04383cf6dde3cfe/68747470733a2f2f7777772e76657273696f6e6579652e636f6d2f7068702f67616e6261726f6469676974616c3a7068702d746578742d746f6f6c732f7265666572656e63655f62616467652e7376673f7374796c653d666c6174)](https://www.versioneye.com/php/ganbarodigital:php-text-tools/references)

Introduction
------------

[](#introduction)

The PHP Text Tools library provides an easy-to-use collection of text manipulation helpers that you can quickly drop into your own project to save you time and effort.

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

[](#installation)

Run this command to add this library to your `composer.json` file:

```
composer require ganbarodigital/php-text-tools

```

###  Health Score

35

—

LowBetter than 79% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity28

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity64

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

Recently: every ~12 days

Total

8

Last Release

3852d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2dc3934d5c3ce55e18dca95d52b564fb2a34986770af3c532dba6c248ef58f3a?d=identicon)[stuartherbert](/maintainers/stuartherbert)

---

Top Contributors

[![stuartherbert](https://avatars.githubusercontent.com/u/7926?v=4)](https://github.com/stuartherbert "stuartherbert (59 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/ganbarodigital-php-text-tools/health.svg)

```
[![Health](https://phpackages.com/badges/ganbarodigital-php-text-tools/health.svg)](https://phpackages.com/packages/ganbarodigital-php-text-tools)
```

PHPackages © 2026

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