PHPackages                             silvanite/novafieldcheckboxes - 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. [Templating &amp; Views](/categories/templating)
4. /
5. silvanite/novafieldcheckboxes

ActiveLibrary[Templating &amp; Views](/categories/templating)

silvanite/novafieldcheckboxes
=============================

A Laravel Nova field to display a number of multi-select options using checkboxes.

v1.2.2(6y ago)70846.9k—9.7%33[8 issues](https://github.com/Silvanite/novafieldcheckboxes/issues)[5 PRs](https://github.com/Silvanite/novafieldcheckboxes/pulls)1MITVuePHP &gt;=7.1.0

Since Sep 1Pushed 4y ago4 watchersCompare

[ Source](https://github.com/Silvanite/novafieldcheckboxes)[ Packagist](https://packagist.org/packages/silvanite/novafieldcheckboxes)[ RSS](/packages/silvanite-novafieldcheckboxes/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (15)Used By (1)

Laravel Nova Checkboxes Field
=============================

[](#laravel-nova-checkboxes-field)

[![Checkboxes in Laravel Nova](formPreview.png)](formPreview.png)

[![Checkboxes in Laravel Nova](detailPreview.png)](detailPreview.png)

[![Checkboxes in Laravel Nova](indexPreview.png)](indexPreview.png)

Package maintenance
-------------------

[](#package-maintenance)

Unfortunately I am no longer actively working in the Laravel ecosystem and as such am unable to maintian this package. If anyone would like to take over the maintenance of the package please get in touch (open an issue or contact me on [Twitter](https://twitter.com/m2de_io)).

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

[](#installation)

`composer require silvanite/novafieldcheckboxes`

Usage
-----

[](#usage)

```
use Silvanite\NovaFieldCheckboxes\Checkboxes;

Checkboxes::make('Permissions')->options([
    'viewNova' => 'Access Admin UI',
    'manageUsers' => 'Manage Users',
]),
```

Configuration
-------------

[](#configuration)

You can customise how the values from checkbox fields are passed to your scripts. By default it's will cast all numeric keys to floats or integers, e.g. `[1, 2, 3]` instead of `["1", "2", "3"]`. You can save disable this feature by calling `withoutTypeCasting()` to have the original array keys returned unmodified.

```
use Silvanite\NovaFieldCheckboxes\Checkboxes;

Checkboxes::make('Permissions')->options([
    1 => 'Access Admin UI',
    2 => 'Manage Users',
])->withoutTypeCasting(),
```

You can also customise the number of columns in which options will be displayed by calling `columns()`

```
use Silvanite\NovaFieldCheckboxes\Checkboxes;

Checkboxes::make('Permissions')->options([
    1 => 'Access Admin UI',
    2 => 'Manage Users',
])->columns(4),
```

### Example using eloquent

[](#example-using-eloquent)

Here is an example of how you might use an eloquent model with Checkboxes.

```
use Silvanite\NovaFieldCheckboxes\Checkboxes;

Checkboxes::make('users')
    ->options(App\User::pluck('name', 'id'))
    ->withoutTypeCasting(),
```

Support
-------

[](#support)

If you require any support please contact me on [Twitter](https://twitter.com/m2de_io) or open an issue on this repository.

License
-------

[](#license)

MIT

###  Health Score

43

—

FairBetter than 91% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity53

Moderate usage in the ecosystem

Community24

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 81.6% 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 ~52 days

Recently: every ~148 days

Total

13

Last Release

2192d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/344a7327cff0099b702cc9aa63e660e482734bf902875114cf56adb7f359b631?d=identicon)[Silvanite](/maintainers/Silvanite)

---

Top Contributors

[![m2de](https://avatars.githubusercontent.com/u/17720020?v=4)](https://github.com/m2de "m2de (40 commits)")[![atmonshi](https://avatars.githubusercontent.com/u/1952412?v=4)](https://github.com/atmonshi "atmonshi (2 commits)")[![tzelleke](https://avatars.githubusercontent.com/u/3835704?v=4)](https://github.com/tzelleke "tzelleke (2 commits)")[![micc83](https://avatars.githubusercontent.com/u/1750404?v=4)](https://github.com/micc83 "micc83 (1 commits)")[![ragingdave](https://avatars.githubusercontent.com/u/1168344?v=4)](https://github.com/ragingdave "ragingdave (1 commits)")[![markwalet](https://avatars.githubusercontent.com/u/11446771?v=4)](https://github.com/markwalet "markwalet (1 commits)")[![hubertnnn](https://avatars.githubusercontent.com/u/1189576?v=4)](https://github.com/hubertnnn "hubertnnn (1 commits)")[![andrerei](https://avatars.githubusercontent.com/u/7910876?v=4)](https://github.com/andrerei "andrerei (1 commits)")

---

Tags

laravelfieldinputmultiselectcheckboxnovacheckboxesmultiple choice

### Embed Badge

![Health badge](/badges/silvanite-novafieldcheckboxes/health.svg)

```
[![Health](https://phpackages.com/badges/silvanite-novafieldcheckboxes/health.svg)](https://phpackages.com/packages/silvanite-novafieldcheckboxes)
```

###  Alternatives

[whitecube/nova-flexible-content

Flexible Content &amp; Repeater Fields for Laravel Nova.

8053.0M25](/packages/whitecube-nova-flexible-content)[outl1ne/nova-multiselect-field

A multiple select field for Laravel Nova.

3402.9M2](/packages/outl1ne-nova-multiselect-field)[waynestate/nova-ckeditor4-field

This nova package allows you to use CKEditor 4 for text areas.

62739.1k8](/packages/waynestate-nova-ckeditor4-field)[oneduo/nova-time-field

A Laravel Nova time field

13157.6k](/packages/oneduo-nova-time-field)[joshmoreno/nova-html-field

A Laravel Nova field for rendering custom html on index, detail, and forms.

1398.6k2](/packages/joshmoreno-nova-html-field)

PHPackages © 2026

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