PHPackages                             habibtalib/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. [Utility &amp; Helpers](/categories/utility)
4. /
5. habibtalib/novafieldcheckboxes

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

habibtalib/novafieldcheckboxes
==============================

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

079JavaScript

Since May 17Pushed 3y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (2)Used By (0)

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

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity27

Early-stage or recently created project

 Bus Factor1

Top contributor holds 66.7% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/a625fdebbe4db5eafe7042370d57ea3d7a4e8c430bb7f0b83aaaef9773545d78?d=identicon)[cyberx11](/maintainers/cyberx11)

---

Top Contributors

[![m2de](https://avatars.githubusercontent.com/u/17720020?v=4)](https://github.com/m2de "m2de (40 commits)")[![cyberx11](https://avatars.githubusercontent.com/u/5761847?v=4)](https://github.com/cyberx11 "cyberx11 (6 commits)")[![Grafikart](https://avatars.githubusercontent.com/u/395137?v=4)](https://github.com/Grafikart "Grafikart (4 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)")[![ragingdave](https://avatars.githubusercontent.com/u/1168344?v=4)](https://github.com/ragingdave "ragingdave (1 commits)")[![hubertnnn](https://avatars.githubusercontent.com/u/1189576?v=4)](https://github.com/hubertnnn "hubertnnn (1 commits)")[![habibtalib](https://avatars.githubusercontent.com/u/7113831?v=4)](https://github.com/habibtalib "habibtalib (1 commits)")[![andrerei](https://avatars.githubusercontent.com/u/7910876?v=4)](https://github.com/andrerei "andrerei (1 commits)")[![markwalet](https://avatars.githubusercontent.com/u/11446771?v=4)](https://github.com/markwalet "markwalet (1 commits)")[![micc83](https://avatars.githubusercontent.com/u/1750404?v=4)](https://github.com/micc83 "micc83 (1 commits)")

### Embed Badge

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

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

###  Alternatives

[amstaffix/pagination

Simple pagination

46290.4k6](/packages/amstaffix-pagination)[faonni/module-smart-category

SmartCategory module is a base of Smart Categories functionality.

8289.3k3](/packages/faonni-module-smart-category)[sitegeist/silhouettes

Preconfigure property-silhuettes that can be applied to various properties of multiple NodeTypes.

16157.5k](/packages/sitegeist-silhouettes)[michaeljennings/refinery

A php class to refine data into a set format.

129.5k2](/packages/michaeljennings-refinery)

PHPackages © 2026

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