PHPackages                             marshmallow/live-update - 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. marshmallow/live-update

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

marshmallow/live-update
=======================

Edit your Nova resources from the index page.

v2.6.0(1y ago)341.9k—7.1%1MITVuePHP ^8.1CI passing

Since Oct 8Pushed 3w ago1 watchersCompare

[ Source](https://github.com/marshmallow-packages/live-update)[ Packagist](https://packagist.org/packages/marshmallow/live-update)[ RSS](/packages/marshmallow-live-update/feed)WikiDiscussions main Synced 2d ago

READMEChangelog (9)Dependencies (2)Versions (17)Used By (1)

[![alt text](https://camo.githubusercontent.com/f5450f299f5713ce2f04dd5a1ba7ce9960ed4568b3574e4c4ee3cddc75477253/68747470733a2f2f6d617273686d616c6c6f772e6465762f63646e2f6d656469612f6c6f676f2d7265642d3233377834362e706e67 "marshmallow.")](https://camo.githubusercontent.com/f5450f299f5713ce2f04dd5a1ba7ce9960ed4568b3574e4c4ee3cddc75477253/68747470733a2f2f6d617273686d616c6c6f772e6465762f63646e2f6d656469612f6c6f676f2d7265642d3233377834362e706e67)

Laravel Nova Live Update
========================

[](#laravel-nova-live-update)

[![Latest Version on Packagist](https://camo.githubusercontent.com/b28bdc1b6e0c65c82cdf524f8920fc55dd3dd5cdfd7f927a64b8db3c845002eb/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d617273686d616c6c6f772f6c6976652d7570646174652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/marshmallow/live-update)[![Total Downloads](https://camo.githubusercontent.com/3bc291dd43b6180232343602ea728c35471401a9ac94440b4db25fd48a52b5f4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d617273686d616c6c6f772f6c6976652d7570646174652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/marshmallow/live-update)[![Issues](https://camo.githubusercontent.com/dddbe7d7422b2c99f2bcdee66061758503d4c3c1a2e701b8e7ca9a6510aba32b/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f6d617273686d616c6c6f772d7061636b616765732f6c6976652d7570646174653f7374796c653d666c61742d737175617265)](https://github.com/marshmallow-packages/live-update/issues)[![License](https://camo.githubusercontent.com/ea573fadc8a3fe5695761609cfb167fcd1130a17cebf4f61313a3adbbea4690a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6d617273686d616c6c6f772f6c6976652d7570646174653f7374796c653d666c61742d737175617265)](https://github.com/marshmallow-packages/live-update/blob/main/LICENSE.md)

Edit your Nova resources from the index page. This package adds a `TextLiveUpdate` field that is editable inline on the index view, so you can update a value without opening the resource's edit screen.

[![](https://raw.githubusercontent.com/marshmallow-packages/live-update/main/resources/screenshots/inline-editable.png)](https://raw.githubusercontent.com/marshmallow-packages/live-update/main/resources/screenshots/inline-editable.png)

Requirements
------------

[](#requirements)

- PHP `^8.1`
- Laravel Nova `^5.0`

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

[](#installation)

Install the package via Composer:

```
composer require marshmallow/live-update
```

The package registers its service provider and assets automatically via Laravel's package auto-discovery, so there is nothing else to set up.

Usage
-----

[](#usage)

Use the `TextLiveUpdate` field in a Nova resource exactly like a regular `Text` field. It becomes editable directly on the index view:

```
use Marshmallow\LiveUpdate\TextLiveUpdate;

public function fields(NovaRequest $request)
{
    return [
        TextLiveUpdate::make('Name'),
    ];
}
```

When the value is changed inline, it is validated against the resource's update rules for that attribute before being saved.

### Field types

[](#field-types)

Pass a type to control how the inline input behaves. Using `date` renders a date picker that saves on change and formats the value as `Y-m-d`:

```
TextLiveUpdate::make('Published At', 'published_at')->type('date');
```

### Copyable

[](#copyable)

Render a button to copy the field's value to the clipboard:

```
TextLiveUpdate::make('Reference')->copyable();
```

### Copy to another field

[](#copy-to-another-field)

Copy the field's value into another field on the same form, with an optional tooltip:

```
TextLiveUpdate::make('Slug')->copyableTo('seo_slug', 'Copy to SEO slug');
```

### Use as a placeholder

[](#use-as-a-placeholder)

Render the field's value as a placeholder rather than an editable value:

```
TextLiveUpdate::make('Name')->asPlaceholder();
```

### Listen to another field

[](#listen-to-another-field)

Recompute this field's value when another field changes. The callback receives the changed value, the attribute, the model, and the request, and returns the new value:

```
TextLiveUpdate::make('Full Name')
    ->listen('first_name', 'change', function ($value, $attribute, $model, $request) {
        return trim($value . ' ' . $model->last_name);
    });
```

### Copyable with a server-side action

[](#copyable-with-a-server-side-action)

Run a server-side action and copy its returned value. The action class must implement `Marshmallow\LiveUpdate\CopyableActionInterface`:

```
use Illuminate\Database\Eloquent\Model;
use Marshmallow\LiveUpdate\CopyableActionInterface;

class GenerateReference implements CopyableActionInterface
{
    public function execute(Model $model): ?string
    {
        return 'REF-' . $model->getKey();
    }
}
```

Then wire it up on the field. The optional `when` callback decides whether the action button is shown:

```
TextLiveUpdate::make('Reference')
    ->copyableWithAction(
        action: GenerateReference::class,
        icon: 'clipboard',
        target_field_label: 'Reference',
        tooltip: 'Generate a reference',
        when: fn () => true,
    );
```

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Marshmallow](https://github.com/marshmallow-packages)
- [wehaa/inline-field-update](https://github.com/wehaa/inline-field-update)
- [All Contributors](https://github.com/marshmallow-packages/live-update/contributors)

License
-------

[](#license)

The MIT License (MIT). Please see the [License File](LICENSE.md) for more information.

###  Health Score

51

—

FairBetter than 95% of packages

Maintenance72

Regular maintenance activity

Popularity33

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity72

Established project with proven stability

 Bus Factor1

Top contributor holds 79.1% 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 ~134 days

Recently: every ~19 days

Total

13

Last Release

479d ago

Major Versions

v1.0.1 → v2.0.02022-05-06

PHP version history (4 changes)v1.0.0PHP &gt;=7.1.0

v1.0.1PHP ^7.1|^8.0

v2.0.0PHP ^8.0

v2.4.0PHP ^8.1

### Community

Maintainers

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

---

Top Contributors

[![stefvanesch](https://avatars.githubusercontent.com/u/46725619?v=4)](https://github.com/stefvanesch "stefvanesch (34 commits)")[![LTKort](https://avatars.githubusercontent.com/u/2412670?v=4)](https://github.com/LTKort "LTKort (5 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (4 commits)")

---

Tags

laravelnova

### Embed Badge

![Health badge](/badges/marshmallow-live-update/health.svg)

```
[![Health](https://phpackages.com/badges/marshmallow-live-update/health.svg)](https://phpackages.com/packages/marshmallow-live-update)
```

###  Alternatives

[optimistdigital/nova-multiselect-field

A multiple select field for Laravel Nova.

3453.7M8](/packages/optimistdigital-nova-multiselect-field)[inspheric/nova-defaultable

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

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

Boost your Laravel Nova with the TinyMCE editor.

17186.3k1](/packages/murdercode-nova4-tinymce-editor)[datomatic/nova-detached-actions

A Laravel Nova tool to allow for placing actions in the Nova toolbar detached from the checkbox selection mechanism.

11273.0k](/packages/datomatic-nova-detached-actions)[wemersonrv/input-mask

A Laravel Nova custom field text with masks on input

1198.4k](/packages/wemersonrv-input-mask)

PHPackages © 2026

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