PHPackages                             mattsplat/readmore - 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. mattsplat/readmore

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

mattsplat/readmore
==================

A Laravel Nova field to hide long text and show when clicked.

1.0.3(6y ago)646.7k↓44.7%2MITVuePHP &gt;=7.1.0

Since May 7Pushed 6y ago1 watchersCompare

[ Source](https://github.com/mattsplat/readmore)[ Packagist](https://packagist.org/packages/mattsplat/readmore)[ RSS](/packages/mattsplat-readmore/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)DependenciesVersions (5)Used By (0)

Text Read More
==============

[](#text-read-more)

For the index view adds the ability to shorten text/textarea or show all by clicking on the field.

Works by adding a macro to Laravel Nova `Text` which is extended by `TextArea` so it works for both.

### Install

[](#install)

```
composer require mattsplat/readmore

```

### Usage with TextArea

[](#usage-with-textarea)

```
Textarea::make('Notes')
    ->showOnIndex()
    ->readMore(),

```

with options

```

Textarea::make('Notes')
    ->showOnIndex()
    ->readMore(['mask' => 'Look Here', 'max' => 5]),

```

or using Text

```

Text::make('Notes')->readMore(),

```

#### Options

[](#options)

- max - number of characters to display (default 20)
- mask - text displayed to show all text (default ...)

Use an icon instead of text

```
$icon = '';

Text::make('Notes')->readMore(['max' => 0, 'mask' => $icon]),

```

#### Inspired by

[](#inspired-by)

[Index TextArea](https://github.com/dillingham/nova-index-textarea) by [Brian Dillingham](https://novapackages.com/collaborators/dillingham)

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity35

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 88.2% 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 ~37 days

Total

4

Last Release

2455d ago

### Community

Maintainers

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

---

Top Contributors

[![ontarget-interactive](https://avatars.githubusercontent.com/u/44584476?v=4)](https://github.com/ontarget-interactive "ontarget-interactive (15 commits)")[![mattsplat](https://avatars.githubusercontent.com/u/1675848?v=4)](https://github.com/mattsplat "mattsplat (2 commits)")

---

Tags

laravelnova

### Embed Badge

![Health badge](/badges/mattsplat-readmore/health.svg)

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

###  Alternatives

[optimistdigital/nova-multiselect-field

A multiple select field for Laravel Nova.

3403.5M7](/packages/optimistdigital-nova-multiselect-field)[digital-creative/conditional-container

Provides an easy way to conditionally show and hide fields in your Nova resources.

116593.8k4](/packages/digital-creative-conditional-container)[genealabs/laravel-overridable-model

Provide a uniform method of allowing models to be overridden in Laravel.

92398.0k2](/packages/genealabs-laravel-overridable-model)[inspheric/nova-defaultable

Default values for Nova fields when creating resources and running resource actions.

51174.8k1](/packages/inspheric-nova-defaultable)[murdercode/nova4-tinymce-editor

Boost your Laravel Nova with the TinyMCE editor.

17165.2k](/packages/murdercode-nova4-tinymce-editor)[yieldstudio/nova-google-autocomplete

A Laravel Nova Google autocomplete field.

12218.4k](/packages/yieldstudio-nova-google-autocomplete)

PHPackages © 2026

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