PHPackages                             marshmallow/boolean-group - 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. marshmallow/boolean-group

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

marshmallow/boolean-group
=========================

A Laravel Nova field.

v1.2.0(1y ago)01.6k↓65.5%MITVuePHP ^8.0

Since Sep 20Pushed 3w ago2 watchersCompare

[ Source](https://github.com/marshmallow-packages/boolean-group)[ Packagist](https://packagist.org/packages/marshmallow/boolean-group)[ RSS](/packages/marshmallow-boolean-group/feed)WikiDiscussions main Synced yesterday

READMEChangelog (3)Dependencies (1)Versions (5)Used By (0)

[![alt text](https://camo.githubusercontent.com/f5450f299f5713ce2f04dd5a1ba7ce9960ed4568b3574e4c4ee3cddc75477253/68747470733a2f2f6d617273686d616c6c6f772e6465762f63646e2f6d656469612f6c6f676f2d7265642d3233377834362e706e67 "marshmallow.")](https://camo.githubusercontent.com/f5450f299f5713ce2f04dd5a1ba7ce9960ed4568b3574e4c4ee3cddc75477253/68747470733a2f2f6d617273686d616c6c6f772e6465762f63646e2f6d656469612f6c6f676f2d7265642d3233377834362e706e67)

Nova Boolean Group
==================

[](#nova-boolean-group)

This package extends the default Boolean Group field from Nova 4. This package adds the ablity to use HTML in the labels. This is handy when you have a lot of information to show in your boolean group labels.

In the example below you can see the difference in behaviour between the default Boolean Group from Nova and the Boolean Group from this package.

[![](resources/readme/preview-form.png)](resources/readme/preview-form.png)

[![](resources/readme/preview-detail.png)](resources/readme/preview-detail.png)

[![](resources/readme/preview-index.png)](resources/readme/preview-index.png)

[![Version](https://camo.githubusercontent.com/7d04c8d0a171aaa4ec90819c4f5d20ec879a4a0b64943565972492e9c06c4d81/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d617273686d616c6c6f772f626f6f6c65616e2d67726f7570)](https://packagist.org/packages/marshmallow/boolean-group)[![Total Downloads](https://camo.githubusercontent.com/458465dde39b3b0adbbc4db604a9829845b0cbb239d1504b18179063bac02bce/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d617273686d616c6c6f772f626f6f6c65616e2d67726f7570)](https://packagist.org/packages/marshmallow/boolean-group)[![Issues](https://camo.githubusercontent.com/040147aabab1d380f80e4c3355552f0c5c8dfaef8e7718da0a5c85ff21e8e3b3/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f6d617273686d616c6c6f772d7061636b616765732f626f6f6c65616e2d67726f7570)](https://github.com/marshmallow-packages/boolean-group/issues)[![Licence](https://camo.githubusercontent.com/0af7ca0cb2dc7ca2545c4abe90d849d514b8b4ea9820599b173b12be772d56da/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6d617273686d616c6c6f772f626f6f6c65616e2d67726f7570)](https://packagist.org/packages/marshmallow/boolean-group)

Requirements
------------

[](#requirements)

- PHP `^8.0`
- Laravel Nova `^4.0` or `^5.0`

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

[](#installation)

You can install the package via composer:

```
composer require marshmallow/boolean-group
```

The field's service provider (`Marshmallow\BooleanGroup\FieldServiceProvider`) is auto-discovered, so no further registration is required.

Usage
-----

[](#usage)

The usage of this package could not be easier. You use it as you would use the BooleanGroup from Nova. Please check there documentation for all the cool stuff you can do with this field out of the box. The only addition is, you can now add HTML in your labels. This package will do the rest. Check out the example below. This is the code we’ve use to take the screenshots above.

```
use Marshmallow\BooleanGroup\BooleanGroup;

BooleanGroup::make(__('From Marshmallow'), 'field_3')->options([
    'option_1' => 'Option 1With HTML',
    'option_2' => 'Option 2With HTML',
    'option_3' => 'Option 3With HTML',
]),
```

### Click area

[](#click-area)

By default, the clickable area within the border is full width. This sometimes creates an issue where users click this area without the intention to check of uncheck anything. If you want to change this behaviour, you can do so with the method below.

```
use Marshmallow\BooleanGroup\BooleanGroup;

BooleanGroup::make(__('From Marshmallow'), 'field_3')->options([
    // ...
])->cancelFullWidth(),
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Stef van Esch](https://github.com/stefvanesch)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see the `license` field in [`composer.json`](composer.json) for more information.

###  Health Score

40

—

FairBetter than 86% of packages

Maintenance70

Regular maintenance activity

Popularity18

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~230 days

Total

3

Last Release

557d ago

### Community

Maintainers

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

---

Top Contributors

[![stefvanesch](https://avatars.githubusercontent.com/u/46725619?v=4)](https://github.com/stefvanesch "stefvanesch (10 commits)")

---

Tags

laravelnova

### Embed Badge

![Health badge](/badges/marshmallow-boolean-group/health.svg)

```
[![Health](https://phpackages.com/badges/marshmallow-boolean-group/health.svg)](https://phpackages.com/packages/marshmallow-boolean-group)
```

###  Alternatives

[ebess/advanced-nova-media-library

Laravel Nova tools for managing the Spatie media library.

6163.5M22](/packages/ebess-advanced-nova-media-library)[optimistdigital/nova-sortable

This Laravel Nova package allows you to reorder models in a Nova resource's index view using drag &amp; drop.

2852.1M6](/packages/optimistdigital-nova-sortable)[outl1ne/nova-sortable

This Laravel Nova package allows you to reorder models in a Nova resource's index view using drag &amp; drop.

2862.1M9](/packages/outl1ne-nova-sortable)[markwalet/nova-modal-response

A Laravel Nova asset for Modal responses on an action.

17878.9k](/packages/markwalet-nova-modal-response)[advoor/nova-editor-js

A Laravel Nova field bringing EditorJs magic to Nova.

92219.3k3](/packages/advoor-nova-editor-js)[outl1ne/nova-page-manager

Page(s) and region(s) manager for Laravel Nova.

17947.0k](/packages/outl1ne-nova-page-manager)

PHPackages © 2026

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