PHPackages                             laravelrotebal/nova-patches - 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. laravelrotebal/nova-patches

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

laravelrotebal/nova-patches
===========================

A set of patches that fix bugs and improve the functionality of Laravel Nova.

0.3.0(6y ago)6172

Since Jan 22Pushed 6y ago1 watchersCompare

[ Source](https://github.com/laravelrotebal/nova-patches)[ Packagist](https://packagist.org/packages/laravelrotebal/nova-patches)[ RSS](/packages/laravelrotebal-nova-patches/feed)WikiDiscussions master Synced 3w ago

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

Laravel Rot Ebal Nova Patches
=============================

[](#laravel-rot-ebal-nova-patches)

A set of patches that fix bugs and improve the functionality of Laravel Nova.

Currently developed, compatible and tested with Nova 2.9.3.

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

[](#installation)

You can install the package in to a Laravel app that uses Nova via composer:

```
composer require laravelrotebal/nova-patches
```

All patches will be applied automatically!

Why is this package needed?
---------------------------

[](#why-is-this-package-needed)

- Core bug fixes.
- Core improved functioning.
- Core smell code correction.
- More flexible core code for best practices.

TODO
----

[](#todo)

- Manually choose which patches to apply.
- Automatically rebuild and publish frontend resources.
- Or find a way to make patches for frontend compiled resources.
- Create tests for testing patched functionality.
- Compatible with other versions of Nova.
- Uniform naming of patches.

Depends on the package vaimo/composer-patches
---------------------------------------------

[](#depends-on-the-package-vaimocomposer-patches)

Applies a patch from a local or remote file to any package that is part of a given composer project. Patches can be defined both on project and on package level. Optional support for patch versioning, sequencing, custom patch applier configuration and composer command for testing/troubleshooting patches.

How it works
------------

[](#how-it-works)

Directory `patches/laravel/nova` contains patch files. One patch file for one bugfix or feature improvement.

Section `$.extra.patches.laravel/nova` in `composer.json` contains the patch files to be applied in the specified order.

After run `install`, `require`, `update`, `patch:redo`, `patch:undo` commands of `composer` the specified patches will be applied to the specified packages in the `vendor` directory.

Some patches may modify the source files for the frontend. Which will require manual start of the assembly of resources and possibly their publication.

Patch list
----------

[](#patch-list)

### refactoring-reformat-fields-js.patch

[](#refactoring-reformat-fields-jspatch)

Change the format to simplify the applying of patches.

Affected files:

- resources/js/fields.js

Need rebuild frontend: no

### has-many-index-template.patch

[](#has-many-index-templatepatch)

HasManyField can be displayed in the index.

Affected files:

- resources/js/components/Index/HasManyField.vue
- resources/js/fields.js
- src/Fields/HasMany.php

Need rebuild frontend: yes

### has-one-index-template.patch

[](#has-one-index-templatepatch)

HasOneField can be displayed in the index.

Affected files:

- resources/js/components/Index/HasOneField.vue
- resources/js/fields.js
- src/Fields/HasOne.php

Need rebuild frontend: yes

### action-event-cli-compatible.patch

[](#action-event-cli-compatiblepatch)

forAttachedResource(), forAttachedResourceUpdate() of ActionEvent independent of NovaRequest.

Affected files:

- src/Http/Controllers/AttachedResourceUpdateController.php
- src/Http/Controllers/PivotFieldDestroyController.php
- src/Http/Controllers/ResourceAttachController.php
- src/Actions/ActionEvent.php

Need rebuild frontend: no

### fix-resource-detach.patch

[](#fix-resource-detachpatch)

ActionEvent::forResourceDetach() can do mass detachment.

Affected files:

- src/Actions/ActionEvent.php
- src/Http/Controllers/ResourceDetachController.php

Need rebuild frontend: no

### action-event-create-without-duplicates.patch

[](#action-event-create-without-duplicatespatch)

ActionEvent::forResourceCreate() will not duplicate creation events.

Affected files:

- src/Actions/ActionEvent.php

Need rebuild frontend: no

How to rebuild frontend
-----------------------

[](#how-to-rebuild-frontend)

Go to `laravel/nova` directory and execute:

```
npm i && cp webpack.mix.js.dist webpack.mix.js && npm run prod

```

For example, I have a rebuild process in 38 seconds. This is a long time!

After successful rebuild, be sure to run:

```
php artisan nova:publish

```

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

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

Recently: every ~36 days

Total

8

Last Release

2195d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8ff2d2f1dc0fcd0e538b0045194a000d96324513f603188aa64dec8800ea03e6?d=identicon)[laravelrotebal](/maintainers/laravelrotebal)

---

Top Contributors

[![4n70w4](https://avatars.githubusercontent.com/u/38257723?v=4)](https://github.com/4n70w4 "4n70w4 (10 commits)")

### Embed Badge

![Health badge](/badges/laravelrotebal-nova-patches/health.svg)

```
[![Health](https://phpackages.com/badges/laravelrotebal-nova-patches/health.svg)](https://phpackages.com/packages/laravelrotebal-nova-patches)
```

###  Alternatives

[ebess/advanced-nova-media-library

Laravel Nova tools for managing the Spatie media library.

6163.5M22](/packages/ebess-advanced-nova-media-library)[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)

PHPackages © 2026

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