ferdiunal/nova-switch
A toggle switch field for Laravel Nova that lets you flip boolean attributes on and off directly in resource forms and tables. Lightweight and easy to install, it adds a clean, intuitive switch control for true/false values in your admin panel.
ferdiunal/nova-switch is a Laravel Nova form field that renders boolean attributes (is_active, is_featured, published) as a toggle switch instead of a checkbox or select. Adoption is a UX polish decision for internal admin surfaces, not a product capability decision."ferdiunal/nova-switch": "1.0.1") and treated as forkable, not as a strategic dependency.v1.0.0...v1.0.1 diff before upgrading rather than relying on the notes; if it is not yet adopted, this release is not a reason to adopt.Adopt when:
Boolean field is functionally sufficient but visually unsatisfying.Boolean field — a one-line change per field).Look elsewhere when:
Non-negotiables before merge: confirm the Nova version constraint, read the actual diff for v1.0.1, and confirm the fallback path is genuinely one line.
To executives: This is a low-cost polish item for our internal admin panel — it makes on/off settings readable at a glance for the people operating the product. It has no customer-facing surface, no data model change, and no migration. Cost is measured in hours. The one caveat worth stating plainly is dependency hygiene: it is a small, single-maintainer open-source package, so we pin the exact version and can revert to Laravel Nova's built-in field with a one-line change per screen. That makes the downside bounded and the decision reversible.
To engineering: Thin wrapper around a Nova field — installs, registers, and renders a boolean as a switch. The v1.0.1 release is a patch with a changelog that only links to the v1.0.0…v1.0.1 compare view, so please review the diff rather than the notes before upgrading. No migrations, no config publishing expected, no API changes implied by the version bump. Pin the version, confirm the Nova constraint matches our install, and keep the native Boolean field as the documented fallback so this never becomes load-bearing. If we find ourselves wanting conditional logic, index-inline toggling, or change auditing, that is the signal to stop extending this and evaluate a better-governed alternative.
How can I help you explore Laravel packages today?