PHPackages                             rizaergun/text-helper - 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. rizaergun/text-helper

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

rizaergun/text-helper
=====================

A simple PHP helper library for text.

v0.1(7y ago)2120MITPHPPHP &gt;=5.3.0

Since May 3Pushed 7y agoCompare

[ Source](https://github.com/rizaergun/text-helper)[ Packagist](https://packagist.org/packages/rizaergun/text-helper)[ RSS](/packages/rizaergun-text-helper/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (2)Used By (0)

TextHelper
==========

[](#texthelper)

A simple PHP helper library for text.

```
use RizaErgun\TextHelper\TextHelper;

require 'vendor/autoload.php';

$text = "Lorem ipsum dolor sit amet, consectetur adipisicing elit. Dolor, quasi.";
$limit = 5;

$character_shorter = TextHelper::character_shorter($text, $limit);
print_r($character_shorter);

$word_shorter = TextHelper::word_shorter($text, $limit);
print_r($word_shorter);

$censored_words = array('ipsum', 'sit');
$replacement = '***';
$word_censored = TextHelper::word_censored($text, $censored_words, $replacement);
print_r($word_censored);
```

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

[](#installation)

```
composer require rizaergun/text-helper

```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

 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

Unknown

Total

1

Last Release

2568d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/02b8789a53a3b8a1250a5c8dea29d8034cd1becec0b0b5f18cea7aa0ed33c5cd?d=identicon)[rizaergun](/maintainers/rizaergun)

---

Top Contributors

[![rizaergun](https://avatars.githubusercontent.com/u/5610980?v=4)](https://github.com/rizaergun "rizaergun (3 commits)")

---

Tags

helperlibrarytextshortshorter

### Embed Badge

![Health badge](/badges/rizaergun-text-helper/health.svg)

```
[![Health](https://phpackages.com/badges/rizaergun-text-helper/health.svg)](https://phpackages.com/packages/rizaergun-text-helper)
```

PHPackages © 2026

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