PHPackages                             marshmallow/nova-resource-click - 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/nova-resource-click

Abandoned → [laravel/nova](/?search=laravel%2Fnova)ArchivedLibrary[Utility &amp; Helpers](/categories/utility)

marshmallow/nova-resource-click
===============================

This Laravel Nova package package allows you to define the click action on a Nova resource's index row.

v1.0.0(4y ago)410.7k[4 PRs](https://github.com/marshmallow-packages/nova-resource-click/pulls)MITVuePHP ^8.0

Since Jun 29Pushed 3y ago1 watchersCompare

[ Source](https://github.com/marshmallow-packages/nova-resource-click)[ Packagist](https://packagist.org/packages/marshmallow/nova-resource-click)[ RSS](/packages/marshmallow-nova-resource-click/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (1)Versions (6)Used By (0)

Nova Sortable
=============

[](#nova-sortable)

[![Latest Version on Packagist](https://camo.githubusercontent.com/984bff5ba02385034720860e76c84eb36f75f2d64a003fdb06ac5ede07143f79/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d617273686d616c6c6f772f6e6f76612d7265736f757263652d636c69636b2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/marshmallow/nova-resource-click)[![Total Downloads](https://camo.githubusercontent.com/8c86a994c86dbc9a397773c359988cf76c6d3a3450a4d58d17123e89726edd60/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d617273686d616c6c6f772f6e6f76612d7265736f757263652d636c69636b2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/marshmallow/nova-resource-click)

This [Laravel Nova](https://nova.laravel.com) package allows you to define the click action on a Nova resource's index row.

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

[](#requirements)

- `php: >=8.0`
- `laravel/nova: ^4.0`

Features
--------

[](#features)

- Define the action of the click on the index page of the Resource Table row

Screenshots
-----------

[](#screenshots)

[![ResourceClick](./resource-click.gif)](./resource-click.gif)

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

[](#installation)

Install the package in a Laravel Nova project via Composer:

```
# Install package
composer require marshmallow/nova-resource-click
```

Config
------

[](#config)

Publish the config file with

```
php artisan vendor:publish --provider="Marshmallow\NovaResourceClick\ToolServiceProvider" --tag="config"
```

This is the default content of the config file:

```
  return [

      /**
       * Default action for all resources when click is applied;
       */
      'default' => 'view',
  ];
```

Usage
-----

[](#usage)

When the resource does not have a click action configuratored, the default action will be used: 'view' .

Note: This package extends the default `TableResourceRow` component from Laravel Nova. Any other package that overwrites this component may cause this package to break.

### Add the row click action to Nova resource

[](#add-the-row-click-action-to-nova-resource)

To apply the 'clickAction' on the individual Resource by adding the `HasClickAction` trait and adding the `$clickAction` variable.

```
use Marshmallow\NovaResourceClick\Traits\HasClickAction;

class MyResource extends Resource
{
  use HasClickAction;

  public static $clickAction = 'update';  // Options: view, update, select, ignore

  ...
}
```

Or by using use the `additionalInformation` feature:

```
class MyResource extends Resource
{

  /**
   * Get meta information about this resource for client side consumption.
   *
   * @param  \Illuminate\Http\Request  $request
   * @return array
   */
  public static function additionalInformation(Request $request)
  {
    return [
        'clickAction' => 'update' // Options: view, update, select, ignore
    ];
  }

  ...
}
```

Credits
-------

[](#credits)

- [Lars Kort](https://github.com/ltkort)

License
-------

[](#license)

Nova Resource Click is open-sourced software licensed under the [MIT license](LICENSE.md).

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 80% 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

Unknown

Total

1

Last Release

1465d ago

### Community

Maintainers

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

---

Top Contributors

[![LTKort](https://avatars.githubusercontent.com/u/2412670?v=4)](https://github.com/LTKort "LTKort (4 commits)")[![stefvanesch](https://avatars.githubusercontent.com/u/46725619?v=4)](https://github.com/stefvanesch "stefvanesch (1 commits)")

---

Tags

laravelnovamarshmallow

### Embed Badge

![Health badge](/badges/marshmallow-nova-resource-click/health.svg)

```
[![Health](https://phpackages.com/badges/marshmallow-nova-resource-click/health.svg)](https://phpackages.com/packages/marshmallow-nova-resource-click)
```

###  Alternatives

[optimistdigital/nova-sortable

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

2852.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.

2862.1M9](/packages/outl1ne-nova-sortable)[markwalet/nova-modal-response

A Laravel Nova asset for Modal responses on an action.

17878.9k](/packages/markwalet-nova-modal-response)[advoor/nova-editor-js

A Laravel Nova field bringing EditorJs magic to Nova.

92219.3k3](/packages/advoor-nova-editor-js)[outl1ne/nova-page-manager

Page(s) and region(s) manager for Laravel Nova.

17947.0k](/packages/outl1ne-nova-page-manager)[sbine/route-viewer

A Laravel Nova tool to view your registered routes.

58249.9k](/packages/sbine-route-viewer)

PHPackages © 2026

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