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)70872.2k↓42.4%33[18 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 2d 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 89% of packages

Maintenance15

Infrequent updates — may be unmaintained

Popularity53

Moderate usage in the ecosystem

Community24

Small or concentrated contributor base

Maturity65

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

2237d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/4539223?v=4)[Silvanite](/maintainers/Silvanite)[@Silvanite](https://github.com/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.

8113.3M27](/packages/whitecube-nova-flexible-content)[outl1ne/nova-multiselect-field

A multiple select field for Laravel Nova.

3423.3M2](/packages/outl1ne-nova-multiselect-field)[oneduo/nova-time-field

A Laravel Nova time field

13175.8k](/packages/oneduo-nova-time-field)[simplesquid/nova-advanced-number-field

A Laravel Nova field which adds additional functionality to the default Number field.

11166.7k1](/packages/simplesquid-nova-advanced-number-field)[joshmoreno/nova-html-field

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

13102.0k3](/packages/joshmoreno-nova-html-field)

PHPackages © 2026

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