trin4ik/nova-switcher
A Laravel Nova field that renders a boolean toggle switch for your resources, letting users flip true/false values inline with customizable on and off labels and a clean, native-looking control.
is_active, is_featured, published, or an internal flag in one click?”). It does not touch customer-facing product, pricing, data model, or API contracts.Boolean field (zero cost), spend roughly half a day generating a small custom field we own via php artisan nova:field, or add this dependency. Given the package is archived, has 12 stars, zero dependents, and a last release of November 2023, adding it as a dependency is the weakest option on total cost of ownership.Consider it narrowly when:
Boolean field does not render an inline toggle in index views, and a Nova upgrade is genuinely out of scope this cycle.Look elsewhere when:
Boolean field, or generate a short owned field with nova:field. Zero dependency, zero maintenance, and it survives the next Nova major because we control it.ToggleColumn/Toggle first-class; Livewire and Backpack have equivalents. This package is not portable across admin stacks.The honest default: on any new Nova work, reach for Laravel\Nova\Fields\Boolean first, nova:field second, and this package essentially never.
For executives: This is a small cosmetic add-on for our internal admin panel. It turns boolean on/off attributes into single-click toggle switches so operations staff save a few seconds per edit. There is no customer-facing impact and no revenue impact. The vendor is archived and effectively unmaintained, so I do not recommend adding it to our dependency list — the current version of our admin framework already provides this behavior natively. Net recommendation: decline adoption, keep the capability parked in admin-tooling backlog, and revisit only if the ops team explicitly asks for it. Cost of the recommended path is effectively zero.
For engineering: The capability is now native to current Nova releases via the Boolean field, so the package is largely redundant. Adopting it means inheriting an archived repo, zero dependents as a compatibility signal, and no verified support for current Nova majors — the 2023-11-01 release sits in the Nova 4.x era, and custom field components have historically broken across Nova majors due to Vue and asset-pipeline changes. The typical first failure is silent: a blank cell and console errors, not a stack trace. Two acceptable paths: (1) use the framework default, or (2) invest under half a day in a purpose-built field we own under app/Nova/Fields (or a private nova-components package), compiled with our own Nova tooling, with provenance/attribution recorded in the repo. If we genuinely want the exact ergonomics, read its source as a pattern and reimplement — do not install it. If someone overrides this and installs anyway: pin the exact version, confirm the license permits vendoring before copying source, add a “regression-check the switcher field” line to the Nova upgrade checklist, and add a deliberate config.audit.abandoned ignore rather than living with the noise. Budget: under half a day either way.
How can I help you explore Laravel packages today?