PHPackages                             inon/word-wrap - 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. inon/word-wrap

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

inon/word-wrap
==============

WordWrap Library

1.0.2(8y ago)012MITPHPPHP &gt;=7.0.0

Since Sep 5Pushed 8y ago1 watchersCompare

[ Source](https://github.com/inon/word-wrap)[ Packagist](https://packagist.org/packages/inon/word-wrap)[ RSS](/packages/inon-word-wrap/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (5)Dependencies (1)Versions (3)Used By (0)

A simple string helper that mimics PHP's `wordwrap()`

Install
-------

[](#install)

```
composer require inon/word-wrap

```

How to use
----------

[](#how-to-use)

```
use Inon\Wrapper\WordWrap;

...

$wrapper = new WordWrap('lorem ipsum', 2);

echo $wrapper->handler();

```

Plans
-----

[](#plans)

```
Make this as full blown PHP utilities/helper repo. *ROFL*

```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity59

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

Every ~0 days

Total

2

Last Release

3173d ago

### Community

Maintainers

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

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/inon-word-wrap/health.svg)

```
[![Health](https://phpackages.com/badges/inon-word-wrap/health.svg)](https://phpackages.com/packages/inon-word-wrap)
```

###  Alternatives

[mauricerenck/ogimage

Creates an Open Graph Image for each page

192.7k](/packages/mauricerenck-ogimage)

PHPackages © 2026

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