PHPackages                             treestoneit/text-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. [Templating &amp; Views](/categories/templating)
4. /
5. treestoneit/text-wrap

AbandonedArchivedLibrary[Templating &amp; Views](/categories/templating)

treestoneit/text-wrap
=====================

A Laravel Nova Wrapped Text field.

v1.1.0(7y ago)8105.4k↓62.6%MITPHPPHP &gt;=7.1.0

Since Aug 28Pushed 7y ago1 watchersCompare

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

READMEChangelog (2)DependenciesVersions (3)Used By (0)

Nova Text Field With Wrap Options
=================================

[](#nova-text-field-with-wrap-options)

**Since Nova now includes `asHtml()` Meta on the Text field (as of [v1.0.9](https://github.com/laravel/nova-issues/issues/280)), there is no more need for this package as same functionality can be achieved with core Text field.**

The default text field in nova doesn't wrap, this causes table to become very wide. By using this field you can either wrap after set number of characters or by splitting the text by a specified marker.

Screenshots
-----------

[](#screenshots)

**How it looks with regular text field:**[![screenshot how it looks with regular text field ](before.png?raw=true "with regular text field")](before.png?raw=true)

**How it looks with text wrap field:**[![screenshot how it looks with text wrap field ](after.png?raw=true "with text wrap field")](after.png?raw=true)

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

[](#installation)

Install the package into a Laravel app that uses [Nova](https://nova.laravel.com) with Composer:

```
composer require treestoneit/text-wrap
```

Usage
-----

[](#usage)

Add the field to your resource in the `fields` method:

```
use Treestoneit\TextWrap\TextWrap;
...
...
TextWrap::make('Product Name')->wrapMethod('length',40),
```

If you would like to use the wrap through spliting the text by marker, here is an example:

```
use Treestoneit\TextWrap\TextWrap;
...
...
TextWrap::make('Product Name')->wrapMethod('explode','-*-'),
```

Please note: *Only Index version of the field is configured to wrap*

###  Health Score

35

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity37

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

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

Every ~3 days

Total

2

Last Release

2863d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/44207441?v=4)[Bomshteyn Consulting](/maintainers/treeStoneIT)[@treeStoneIT](https://github.com/treeStoneIT)

---

Top Contributors

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

---

Tags

laravellaravel-novanovalaravelnova

### Embed Badge

![Health badge](/badges/treestoneit-text-wrap/health.svg)

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

###  Alternatives

[whitecube/nova-flexible-content

Flexible Content &amp; Repeater Fields for Laravel Nova.

8113.3M27](/packages/whitecube-nova-flexible-content)[outl1ne/nova-multiselect-field

A multiple select field for Laravel Nova.

3423.3M2](/packages/outl1ne-nova-multiselect-field)[emilianotisato/nova-tinymce

This Nova package allow you to use TinyMCE editor for text areas.You can customize the editor options and... you can upload images to your server and put them rigth there on the text without leaving the text editor!

116939.6k4](/packages/emilianotisato-nova-tinymce)[waynestate/nova-ckeditor4-field

This nova package allows you to use CKEditor 4 for text areas.

63769.8k9](/packages/waynestate-nova-ckeditor4-field)[saumini/ellipsis-textarea

A Laravel Nova textarea field with ellipsis support

12153.2k](/packages/saumini-ellipsis-textarea)[joshmoreno/nova-html-field

A Laravel Nova field for rendering custom html on index, detail, and forms.

13102.0k3](/packages/joshmoreno-nova-html-field)

PHPackages © 2026

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