PHPackages                             bknasmueller/php-truncate - 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. bknasmueller/php-truncate

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

bknasmueller/php-truncate
=========================

Abbreviates a string to a given length using a custom trailing string.

0.1.0(7y ago)06MITPHP &gt;=7.1.0

Since May 5Compare

[ Source](https://gitlab.com/bernhard.knasmueller/php-string-truncate)[ Packagist](https://packagist.org/packages/bknasmueller/php-truncate)[ Docs](https://gitlab.com/bernhard.knasmueller/php-string-truncate)[ RSS](/packages/bknasmueller-php-truncate/feed)WikiDiscussions Synced 2mo ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

### README not available

The README for this package hasn't been synced yet. View it on [GitHub](https://gitlab.com/bernhard.knasmueller/php-string-truncate).

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity44

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

Unknown

Total

1

Last Release

2561d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/62db64250401dbeb9b08e33060a4c65a3f87b71c8e9332a2cdf568f1fcdc174a?d=identicon)[bknasmueller](/maintainers/bknasmueller)

---

Tags

utf-8stringutilityhelpersmanipulationmultibyteutilstruncate

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/bknasmueller-php-truncate/health.svg)

```
[![Health](https://phpackages.com/badges/bknasmueller-php-truncate/health.svg)](https://phpackages.com/packages/bknasmueller-php-truncate)
```

###  Alternatives

[danielstjules/stringy

A string manipulation library with multibyte support

2.4k26.0M190](/packages/danielstjules-stringy)[voku/stringy

A string manipulation library with multibyte support

1783.8M19](/packages/voku-stringy)[statamic/stringy

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

234.5M14](/packages/statamic-stringy)[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)[tcb13/substringy

A sub string manipulation library with multibyte support that extends Stringy

1760.6k1](/packages/tcb13-substringy)[voku/arrayy

Array manipulation library for PHP, called Arrayy!

4875.5M16](/packages/voku-arrayy)

PHPackages © 2026

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