PHPackages                             yaroslawww/nova-html-field - 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. yaroslawww/nova-html-field

Abandoned → [think.studio/nova-html-field](/?search=think.studio%2Fnova-html-field)Library

yaroslawww/nova-html-field
==========================

HTML Laravel Nova field. (alternative of text field)

2.3.1(2y ago)04.1k↓100%3MITPHPPHP ^8.1

Since Apr 16Pushed 2y ago1 watchersCompare

[ Source](https://github.com/dev-think-one/nova-html-field)[ Packagist](https://packagist.org/packages/yaroslawww/nova-html-field)[ Docs](https://github.com/dev-think-one/nova-html-field)[ RSS](/packages/yaroslawww-nova-html-field/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (7)Versions (16)Used By (0)

Laravel nova HTML Field
=======================

[](#laravel-nova-html-field)

[![Packagist License](https://camo.githubusercontent.com/5d7e50b24859084bffc16d38ee826f0db27c6b270d8850ae404adff0a3caa77d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f7468696e6b2e73747564696f2f6e6f76612d68746d6c2d6669656c643f636f6c6f723d253233346463373166)](https://camo.githubusercontent.com/5d7e50b24859084bffc16d38ee826f0db27c6b270d8850ae404adff0a3caa77d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f7468696e6b2e73747564696f2f6e6f76612d68746d6c2d6669656c643f636f6c6f723d253233346463373166)[![Packagist Version](https://camo.githubusercontent.com/5d590d57d6d67fa3671276d07607ef0789ea273098ba6b933b1718539f7f57d3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7468696e6b2e73747564696f2f6e6f76612d68746d6c2d6669656c64)](https://packagist.org/packages/think.studio/nova-html-field)[![Total Downloads](https://camo.githubusercontent.com/36fe0378dab2b489d33f17373c8af8483ec337fa9c8ab1e4267011f8fd9a8372/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7468696e6b2e73747564696f2f6e6f76612d68746d6c2d6669656c64)](https://packagist.org/packages/think.studio/nova-html-field)[![Build Status](https://camo.githubusercontent.com/c763f6e4ee726fe384e19a8df4dbc1ba2cf35fbdbdf900c14d4f54dc9cd5a0f3/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6465762d7468696e6b2d6f6e652f6e6f76612d68746d6c2d6669656c642f6261646765732f6275696c642e706e673f623d6d61696e)](https://scrutinizer-ci.com/g/dev-think-one/nova-html-field/build-status/main)[![Code Coverage](https://camo.githubusercontent.com/0c9fb6cd3e896f3b4bed3b7053e8ac02403ab05bed37ab6ad5afac7eab1a6bf4/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6465762d7468696e6b2d6f6e652f6e6f76612d68746d6c2d6669656c642f6261646765732f636f7665726167652e706e673f623d6d61696e)](https://scrutinizer-ci.com/g/dev-think-one/nova-html-field/?branch=main)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/ac6c88143d47603b39fddc7607b66c4bafc6146a470e089815eee083bb8e1f7f/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6465762d7468696e6b2d6f6e652f6e6f76612d68746d6c2d6669656c642f6261646765732f7175616c6974792d73636f72652e706e673f623d6d61696e)](https://scrutinizer-ci.com/g/dev-think-one/nova-html-field/?branch=main)

NovaPackageV1V1V4V2Usage Warning!
--------------

[](#usage-warning)

If you want use html only on **Index (Preview)** or **Details** screen, then please use default laravel nova functionality:

```
\Laravel\Nova\Fields\Text::make('Preview', function () {
    return view('custom-link', [
        'url' => url('/preview'),
        'id' => $this->id,
    ])->render();
})->asHtml();
```

The package was created to add such a feature also to the **Update** and **Create** screens. (By default, **Create** screen is disabled.)

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

[](#installation)

You can install the package via composer:

```
composer require think.studio/nova-html-field
```

Usage
-----

[](#usage)

```
Html::make('Preview', function () {
    return view('nova-html-field::blocks.link', [
        'href' => url('/preview'),
        'linkText' => 'Preview',
        'target' => '_blank',
    ])->render();
})->clickable();

Html::make('Preview', function () {
    return view('nova-html-field::blocks.links', [
        'links' => [
            [
                'href' => url('/preview'),
                'title' => 'title',
                'target' => '_blank',
            ],
            [
                'href' => url('/preview'),
                'title' => 'title',
                'target' => '_blank',
            ],
        ]
    ])->render();
})
    ->clickable()
    ->showOnIndex()
    ->showOnPreview(),
```

```
Html::make('Docs', fn() => view('nova-html-field::blocks.link', [ 'href' => $this->resource->pdfUrl(), ])->render() )
    ->showOnCreating()
     ->clickable()
    ->help('Link to documentation');
```

Credits
-------

[](#credits)

- [![Think Studio](https://camo.githubusercontent.com/8e541bece07d503c85a126b5294865faa00e27371048772f566a0cce8c01fd3a/68747470733a2f2f7961726f736c617777772e6769746875622e696f2f696d616765732f73706f6e736f72732f7061636b616765732f6c6f676f2d7468696e6b2d73747564696f2e706e67)](https://think.studio/)

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity68

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

Recently: every ~52 days

Total

15

Last Release

950d ago

Major Versions

1.1.2 → 2.0.02022-07-07

PHP version history (2 changes)1.0.0PHP &gt;=7.4

2.0.0PHP ^8.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/23663794?v=4)[yaroslawww](/maintainers/yaroslawww)[@yaroslawww](https://github.com/yaroslawww)

---

Top Contributors

[![yaroslawww](https://avatars.githubusercontent.com/u/23663794?v=4)](https://github.com/yaroslawww "yaroslawww (25 commits)")

---

Tags

laravelhtml-field

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/yaroslawww-nova-html-field/health.svg)

```
[![Health](https://phpackages.com/badges/yaroslawww-nova-html-field/health.svg)](https://phpackages.com/packages/yaroslawww-nova-html-field)
```

###  Alternatives

[anourvalar/eloquent-serialize

Laravel Query Builder (Eloquent) serialization

11320.2M21](/packages/anourvalar-eloquent-serialize)[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)
