PHPackages                             eugenevdm/nova-text-card - 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. eugenevdm/nova-text-card

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

eugenevdm/nova-text-card
========================

A fork of Eric Lagarda's custom card for Laravel Nova to show Text in cards with some good options

1.1(6y ago)034MITPHPPHP &gt;=7.1.0

Since Feb 22Pushed 6y agoCompare

[ Source](https://github.com/eugenevdm/NovaTextCard)[ Packagist](https://packagist.org/packages/eugenevdm/nova-text-card)[ RSS](/packages/eugenevdm-nova-text-card/feed)WikiDiscussions master Synced today

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

Nova Text Card
==============

[](#nova-text-card)

A custom card for Laravel Nova to show Text in cards with some good options.

[![preview](https://user-images.githubusercontent.com/74367/53241396-dd2f2600-36a1-11e9-8ee8-7341fbc58172.png)](https://user-images.githubusercontent.com/74367/53241396-dd2f2600-36a1-11e9-8ee8-7341fbc58172.png)

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

[](#installation)

You can install the package in to a Laravel app that uses [Nova](https://nova.laravel.com) via composer:

```
composer require ericlagarda/nova-text-card
```

Then, register your new link in the `cards` method of the `NovaServiceProvider` or your `ResourceTool` class.

```
public function cards()
{
    return [
        // ...
        // Examples from the preview image

        (new TextCard())
            ->forceFullWidth()
            ->heading('My custom awesome heading')
            ->text('Congue platea augue fames nullam morbi vehicula egestas lobortis lacus adipiscing eleifend'),

        (new TextCard())
            ->width('1/2')
            ->height(100)
            ->center(false)
            ->heading('Custom card no centered')
            ->text('Congue platea augue fames nullam morbi'),

        (new TextCard())
            ->width('1/2')
            ->height()
            ->text('This is a custom card with text and no heading. Height is set to auto.')
            ->textAsHtml(),

        (new TextCard())
            ->forceFullWidth()
            ->height(90)
            ->heading('Just a heading text with a smile ')
            ->headingAsHtml(),
    ];
}
```

Card options
------------

[](#card-options)

- `->width('string')`: Width of the card.
- `->forceFullWidth()`: Force the card to be full width. A fix for nova cards order.
- `->height('string or number'):`Height of the Card. If is called without options height will be auto. Default to nova card height.
- `->center(boolean)`: If you want the text centered or not. Default to true
- `->heading('string or html')`: Heading text or custom html. Default to false. No heading text is shown.
- `->text('string or html')`: Text of the card or custom html. Default to false. No text is shown.
- `->headingAsHtml()`: If you want to print the heading as HTML
- `->textAsHtml()`: If you want to print the text as HTML

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 75% 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 ~350 days

Total

2

Last Release

2282d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/932743c076390240ecdefe58dc5f81b60cb5fe9ed38b3bead0541f640a7bb2a8?d=identicon)[eugenevdm](/maintainers/eugenevdm)

---

Top Contributors

[![eugenefvdm](https://avatars.githubusercontent.com/u/1836436?v=4)](https://github.com/eugenefvdm "eugenefvdm (3 commits)")[![Krato](https://avatars.githubusercontent.com/u/74367?v=4)](https://github.com/Krato "Krato (1 commits)")

---

Tags

laraveltextcardnova

### Embed Badge

![Health badge](/badges/eugenevdm-nova-text-card/health.svg)

```
[![Health](https://phpackages.com/badges/eugenevdm-nova-text-card/health.svg)](https://phpackages.com/packages/eugenevdm-nova-text-card)
```

###  Alternatives

[optimistdigital/nova-sortable

This Laravel Nova package allows you to reorder models in a Nova resource's index view using drag &amp; drop.

2872.1M6](/packages/optimistdigital-nova-sortable)[outl1ne/nova-sortable

This Laravel Nova package allows you to reorder models in a Nova resource's index view using drag &amp; drop.

2861.8M9](/packages/outl1ne-nova-sortable)[ericlagarda/nova-text-card

A custom card for Laravel Nova to show Text in cards with some good options

20388.6k2](/packages/ericlagarda-nova-text-card)[outl1ne/nova-inline-text-field

A Laravel Nova inline text field.

23252.9k2](/packages/outl1ne-nova-inline-text-field)[sbine/route-viewer

A Laravel Nova tool to view your registered routes.

57215.9k](/packages/sbine-route-viewer)[markwalet/nova-modal-response

A Laravel Nova asset for Modal responses on an action.

14720.0k](/packages/markwalet-nova-modal-response)

PHPackages © 2026

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