PHPackages                             pawelzny/trimmer - 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. pawelzny/trimmer

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

pawelzny/trimmer
================

Helps trimming string to given length rounded to whole words.

v2.0.3(9y ago)037ISCPHP ^5.6 || ^7.0

Since Oct 30Compare

[ Source](https://github.com/pawelzny/trimmer)[ Packagist](https://packagist.org/packages/pawelzny/trimmer)[ RSS](/packages/pawelzny-trimmer/feed)WikiDiscussions Synced 2mo ago

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

### README not available

The README for this package hasn't been synced yet. View it on [GitHub](https://github.com/pawelzny/trimmer).

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity63

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

Total

6

Last Release

3437d ago

Major Versions

1.0.1 → v2.0.02016-12-05

### Community

Maintainers

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

---

Top Contributors

[![pawelzny](https://avatars.githubusercontent.com/u/8122156?v=4)](https://github.com/pawelzny "pawelzny (11 commits)")

---

Tags

stringwordstrimlength

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/pawelzny-trimmer/health.svg)

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

###  Alternatives

[doctrine/inflector

PHP Doctrine Inflector is a small library that can perform string manipulations with regard to upper/lowercase and singular/plural forms of words.

11.4k855.8M710](/packages/doctrine-inflector)[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)[kwn/number-to-words

Multi language standalone PHP number to words converter. Fully tested, open for extensions and new languages.

4235.0M21](/packages/kwn-number-to-words)[opis/string

Multibyte strings as objects

7120.9M7](/packages/opis-string)[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)

38103.3k2](/packages/hallindavid-manny)[icecave/repr

A library for generating string representations of any value, inspired by Python's reprlib library.

277.1M4](/packages/icecave-repr)

PHPackages © 2026

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