PHPackages                             jeroen-g/textconveyor - 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. jeroen-g/textconveyor

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

jeroen-g/textconveyor
=====================

Send any text over a conveyor to format it.

1.1(8y ago)016EUPL-1.1PHP

Since Mar 23Pushed 8y ago1 watchersCompare

[ Source](https://github.com/Jeroen-G/TextConveyor)[ Packagist](https://packagist.org/packages/jeroen-g/textconveyor)[ Docs](https://github.com/Jeroen-G/textconveyor)[ RSS](/packages/jeroen-g-textconveyor/feed)WikiDiscussions master Synced today

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

TextConveyor
============

[](#textconveyor)

[![Latest Version on Packagist](https://camo.githubusercontent.com/722d3c98fd75c3207a5f8700b4869029a780989d871e8e75daef386f61896472/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6a65726f656e2d672f74657874636f6e7665796f722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/jeroen-g/textconveyor)[![Build Status](https://camo.githubusercontent.com/41455dde3a8f46d190b96c3bcb44d4201713e90f686569906972a686b484f25a/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f4a65726f656e2d472f54657874436f6e7665796f722f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/Jeroen-G/TextConveyor)[![StyleCI](https://camo.githubusercontent.com/57430b2358b33870bc2111dc2877b1a68d270a07bca468fbeb7abf7464ebf2ea/68747470733a2f2f7374796c6563692e696f2f7265706f732f3132353532343534312f736869656c64)](https://styleci.io/repos/125524541)

The TextConveyor takes your text, whatever size, and runs it through a list of formatters that is defined by you.

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

[](#installation)

Via Composer

```
$ composer require jeroen-g/textconveyor
```

In case you're using Laravel, a service provider and facade get registered automatically. With `artisan vendor:publish` you can alter the formatters that get set in the config file.

Usage
-----

[](#usage)

```
$assembler = new JeroenG\TextConveyor\Assembler;
$assembler->setFormatters([App\RemoveBadWords::class, App\LowercaseNames::class]);
$assembler->addFormatter(App\CapitalizeNames::class);
$assembler->removeFormatter(App\LowercaseNames::class);
$formattedText = $assembler->sendContentThroughFormatters($content);
```

This is how it could be used in an Eloquent model:

```
public function getBodyAttribute($body)
{
    return app(JeroenG\TextConveyor\Assembler::class)->sendContentThroughFormatters($body);
}
```

Change log
----------

[](#change-log)

Please see the [changelog](changelog.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [contributing.md](contributing.md) for details and a todolist.

License
-------

[](#license)

license. Please see the [license file](license.md) for more information.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity64

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

Total

2

Last Release

2938d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0d8700d69abe733de151f8cf49084e99ded7b9d34d7b0d1cd8f3825f5d925ff3?d=identicon)[JeroenG](/maintainers/JeroenG)

---

Top Contributors

[![Jeroen-G](https://avatars.githubusercontent.com/u/1116853?v=4)](https://github.com/Jeroen-G "Jeroen-G (15 commits)")

---

Tags

textformatting

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/jeroen-g-textconveyor/health.svg)

```
[![Health](https://phpackages.com/badges/jeroen-g-textconveyor/health.svg)](https://phpackages.com/packages/jeroen-g-textconveyor)
```

###  Alternatives

[froala/wysiwyg-editor

A beautiful jQuery WYSIWYG HTML rich text editor. High performance and modern design make it easy to use for developers and loved by users.

5.4k306.9k3](/packages/froala-wysiwyg-editor)[ckeditor/ckeditor

JavaScript WYSIWYG web text editor.

5234.2M76](/packages/ckeditor-ckeditor)[tinymce/tinymce

Web based JavaScript HTML WYSIWYG editor control.

1697.5M106](/packages/tinymce-tinymce)[nojimage/twitter-text-php

A library of PHP classes that provide auto-linking and extraction of usernames, lists, hashtags and URLs from tweets.

1241.9M7](/packages/nojimage-twitter-text-php)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

255.2k](/packages/aedart-athenaeum)[w8tcha/ckeditor-wordcount-plugin

WordCount Plugin for CKEditor Editor

77470.2k](/packages/w8tcha-ckeditor-wordcount-plugin)

PHPackages © 2026

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