almirhodzic/nova-toggle-5
A Laravel Nova 5 field that adds a clean, customizable toggle switch for boolean values, making on/off settings easier to manage in admin panels with configurable labels and colors.
Consider it when:
Look elsewhere when:
For executives: this is a small, low-risk dependency that lets support and operations staff change a record's on/off state directly in the admin panel instead of filing an engineering ticket. The new patch fixes a real gap — staff could not toggle records that had been soft-deleted, so "restore/reactivate this deleted item" work fell back to engineers. It is a drop-in composer update, no migration, no breaking change, and permission checks still apply to trashed records, so there is no widening of who can do what. Net effect: fewer interrupts for engineering and faster turnaround on a recurring operational task, at effectively zero integration cost.
For engineering: v1.3.1 applies withTrashed() to the toggle lookup when the Nova resource uses soft deletes, resolving the 404 that made the endpoint unusable from "With Trashed" and lens views. Behavior is unchanged for resources without soft deletes, and both the authorization check and the toggleable-attribute whitelist continue to run against trashed records. Upgrade path is composer update almirhodzic/nova-toggle-5; no code changes required. Worth adding a regression test in our own suite covering a toggled soft-deleted model from a lens view, since that is the path our ops team will actually use.
How can I help you explore Laravel packages today?