PHPackages                             gabrielesbaiz/nova-card-html - 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. gabrielesbaiz/nova-card-html

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

gabrielesbaiz/nova-card-html
============================

A Laravel Nova card that displays any html content.

2.2.0(1y ago)02.4k↑200%MITPHPPHP ^8.0CI failing

Since Mar 3Pushed 8mo ago1 watchersCompare

[ Source](https://github.com/gabrielesbaiz/nova-card-html)[ Packagist](https://packagist.org/packages/gabrielesbaiz/nova-card-html)[ Docs](https://github.com/gabrielesbaiz/nova-card-html)[ GitHub Sponsors]()[ RSS](/packages/gabrielesbaiz-nova-card-html/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (6)Dependencies (9)Versions (8)Used By (0)

[![Latest Version on Packagist](https://camo.githubusercontent.com/a3d5281edcf9c4a9e3f4601e6cd897ece756497cf573a9b5a587274159d8ef6c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6761627269656c65736261697a2f6e6f76612d636172642d68746d6c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/gabrielesbaiz/nova-card-html)[![Total Downloads](https://camo.githubusercontent.com/e7b279d3529e51e20c8f432d54f8d0da0e5cd3fea566f0625c7640095b31eb61/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6761627269656c65736261697a2f6e6f76612d636172642d68746d6c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/gabrielesbaiz/nova-card-html)

A Laravel Nova card that displays any html content.

Original code from [abordage/nova-card-html](https://github.com/abordage/nova-card-html)

Features
--------

[](#features)

- ✅ HTML content in Nova card
- ✅ Variable height

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

[](#installation)

You can install the package via composer:

```
composer require gabrielesbaiz/nova-card-html
```

Usage
-----

[](#usage)

To create a cards use the `artisan` command:

```
php artisan nova-card-html MyHtmlCard
```

```
$NovaCardHtml = new Gabrielesbaiz\NovaCardHtml();
echo $NovaCardHtml->echoPhrase('Hello, Gabrielesbaiz!');
```

By default, all new cards will be placed in the `app/Nova/Cards` directory. Once your html card class has been generated, you're ready to customize it.

```
