PHPackages                             spunkylm/better-boolean - 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. spunkylm/better-boolean

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

spunkylm/better-boolean
=======================

A slightly more customizable boolean field for Laravel Nova

06PHP

Since Jul 12Pushed 6y agoCompare

[ Source](https://github.com/spunkylm/better-boolean)[ Packagist](https://packagist.org/packages/spunkylm/better-boolean)[ RSS](/packages/spunkylm-better-boolean/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Better Boolean
==============

[](#better-boolean)

A drop in replacement for the default Laravel Nova Boolean field

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

[](#installation)

```
composer require spunkylm/better-boolean

```

Usage
-----

[](#usage)

The Toggle has all the same options as the Boolean field so you can set the values to be stored in the Model.

```
BetterBoolean::make('Status')
    ->trueValue(true, 'Good', '#21b978')
    ->falseValue(false, 'Neutral', '#bdbdbd')
    ->showLabelOnIndex(),
```

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity36

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/63b66843d16681bbffe43e56fea59d3720fc1ec7fc2c20fd1d844a049557cf4a?d=identicon)[spunkylm](/maintainers/spunkylm)

---

Top Contributors

[![shanedeakin](https://avatars.githubusercontent.com/u/1687089?v=4)](https://github.com/shanedeakin "shanedeakin (2 commits)")

### Embed Badge

![Health badge](/badges/spunkylm-better-boolean/health.svg)

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

###  Alternatives

[nativephp/electron

Electron wrapper for the NativePHP framework.

519114.4k8](/packages/nativephp-electron)[abdelhamiderrahmouni/filament-monaco-editor

A monaco editor form field for filamentphp.

18182.2k](/packages/abdelhamiderrahmouni-filament-monaco-editor)[hiqdev/yii2-module-pages

Yii2 Pages Module

121.1k](/packages/hiqdev-yii2-module-pages)

PHPackages © 2026

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