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

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

phlib/string
============

String functions like ellipsis

2.1.0(3y ago)01.8k1LGPL-3.0PHPPHP ^7.4 || ^8.0

Since Mar 9Pushed 1y ago1 watchersCompare

[ Source](https://github.com/phlib/string)[ Packagist](https://packagist.org/packages/phlib/string)[ RSS](/packages/phlib-string/feed)WikiDiscussions main Synced 1mo ago

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

phlib/string
============

[](#phlibstring)

[![Code Checks](https://camo.githubusercontent.com/1f5aefc06e106e0a67d43dfef4844b488bf4f9b98efc5e73d65057b883816a71/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f70686c69622f737472696e672f636f64652d636865636b732e796d6c3f6c6f676f3d676974687562)](https://github.com/phlib/string/actions/workflows/code-checks.yml)[![Codecov](https://camo.githubusercontent.com/815cde4cf92f076313f21c3f298dae8197d3b584bb49e15eb02a56e842282ee2/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f70686c69622f737472696e672e7376673f6c6f676f3d636f6465636f76)](https://codecov.io/gh/phlib/string)[![Latest Stable Version](https://camo.githubusercontent.com/59523f64c663f565728cceae949f9e44e36b6f01e85e01608e3fa20668c02260/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f70686c69622f737472696e672e7376673f6c6f676f3d7061636b6167697374)](https://packagist.org/packages/phlib/string)[![Total Downloads](https://camo.githubusercontent.com/d10dd7f484ca63390d229dd897c6ef90eb68b48d26375b3a759832a9b33db388/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f70686c69622f737472696e672e7376673f6c6f676f3d7061636b6167697374)](https://packagist.org/packages/phlib/string)[![Licence](https://camo.githubusercontent.com/048402e5df3213f346c7498b5b7d722d85e493217b830da09b954d8b27fbba7f/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f70686c69622f737472696e672e737667)](https://camo.githubusercontent.com/048402e5df3213f346c7498b5b7d722d85e493217b830da09b954d8b27fbba7f/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f70686c69622f737472696e672e737667)

String functions, like ellipsis.

License
-------

[](#license)

This package is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this program. If not, see .

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance32

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity70

Established project with proven stability

 Bus Factor1

Top contributor holds 95.5% 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 ~1407 days

Total

3

Last Release

1273d ago

Major Versions

1.0.0 → 2.0.02022-10-12

PHP version history (2 changes)1.0.0PHP ~5.4

2.0.0PHP ^7.4 || ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/135b7ddf9ec91c412e1b18174f81d1ad2bef66e732624195c156717c96b13731?d=identicon)[letssurf](/maintainers/letssurf)

![](https://www.gravatar.com/avatar/10c53cdcfb3a6d299820aecb993521cc1a972baa09fd8f31d2468908cded7e1d?d=identicon)[chrisminett](/maintainers/chrisminett)

---

Top Contributors

[![chrisminett](https://avatars.githubusercontent.com/u/1084019?v=4)](https://github.com/chrisminett "chrisminett (42 commits)")[![jdempster](https://avatars.githubusercontent.com/u/10297?v=4)](https://github.com/jdempster "jdempster (2 commits)")

###  Code Quality

TestsPHPUnit

Code StyleECS

### Embed Badge

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

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

###  Alternatives

[fof/reactions

Reactions for Flarum

2268.0k6](/packages/fof-reactions)[spatie/mjml-sidecar

Compile MJML to HTML using Sidecar

1342.6k](/packages/spatie-mjml-sidecar)

PHPackages © 2026

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