PHPackages                             dramosv90/inline-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. dramosv90/inline-boolean

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

dramosv90/inline-boolean
========================

A Laravel Nova boolean field that can be directly edited from the index or detail page of a resource.

1.1(6y ago)03MITVuePHP &gt;=7.1.0

Since Jun 12Pushed 6y agoCompare

[ Source](https://github.com/dramosv90/inline-boolean)[ Packagist](https://packagist.org/packages/dramosv90/inline-boolean)[ Docs](https://github.com/markrassamni/inline-boolean)[ RSS](/packages/dramosv90-inline-boolean/feed)WikiDiscussions master Synced 5d ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

Laravel Nova: Inline Boolean
============================

[](#laravel-nova-inline-boolean)

[![Latest Stable Version](https://camo.githubusercontent.com/fec214d998ce09852fa12fd88cd3851d77d4bcb774c1fe7d8e90121c05d2e0db/68747470733a2f2f706f7365722e707567782e6f72672f6d61726b72617373616d6e692f696e6c696e652d626f6f6c65616e2f762f737461626c65)](https://packagist.org/packages/markrassamni/inline-boolean) [![Total Downloads](https://camo.githubusercontent.com/4df85cc365c71b9f337d384225d7571d794cb07358d13b6cf9d5389d11d97065/68747470733a2f2f706f7365722e707567782e6f72672f6d61726b72617373616d6e692f696e6c696e652d626f6f6c65616e2f646f776e6c6f616473)](https://packagist.org/packages/markrassamni/inline-boolean) [![License](https://camo.githubusercontent.com/9c2bba64559e50d2a6de2d0fd6f14eb990accff646a85b9b96a297d2e5289a62/68747470733a2f2f706f7365722e707567782e6f72672f6d61726b72617373616d6e692f696e6c696e652d626f6f6c65616e2f6c6963656e7365)](https://packagist.org/packages/markrassamni/inline-boolean)

Adds the ability to edit a boolean field directly from the index or detail page of a resource.

[![](https://raw.githubusercontent.com/markrassamni/inline-boolean/master/InlineBooleanIndex.png)](https://raw.githubusercontent.com/markrassamni/inline-boolean/master/InlineBooleanIndex.png)

[![](https://raw.githubusercontent.com/markrassamni/inline-boolean/master/InlineBooleanDetail.png)](https://raw.githubusercontent.com/markrassamni/inline-boolean/master/InlineBooleanDetail.png)

Prerequisites
-------------

[](#prerequisites)

- [Laravel](https://laravel.com/)
- [Laravel Nova](https://nova.laravel.com/)

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

[](#installation)

```
$ composer require markrassamni/inline-boolean

```

Usage
-----

[](#usage)

Use the `MarkRassamni\InlineBoolean\InlineBoolean` field in your Nova resource:

```
use MarkRassamni\InlineBoolean\InlineBoolean;

class MyResource extends Resource
{
    public function fields(Request $request)
    {
        return [
            InlineBoolean::make('Enabled')
                ->inlineOnIndex()  // Use inline field on the index page
                ->inlineOnDetail()  // Use inline field on the detail page
                ->enableMessage('Boolean has been enabled.')  // Toast message when enabling boolean
                ->disableMessage('Boolean has been disabled.')  // Toast message when disabling boolean
                ->trueText('Enabled')  // Change the text describing true boolean values
                ->falseText('Disabled')  // Change the text describing false boolean values
                ->showTextOnIndex()  // Show true/false text beside the checkbox on the index page
        ];
    }
}
```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 77.8% 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 ~0 days

Total

2

Last Release

2531d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7cf28a50114162797809204e9d5983d24b18aae6eef219bc27beee2cc4d039aa?d=identicon)[dramosv90](/maintainers/dramosv90)

---

Top Contributors

[![markrassamni](https://avatars.githubusercontent.com/u/17393438?v=4)](https://github.com/markrassamni "markrassamni (7 commits)")[![pullr3qu35t](https://avatars.githubusercontent.com/u/90991997?v=4)](https://github.com/pullr3qu35t "pullr3qu35t (2 commits)")

---

Tags

laravelnova

### Embed Badge

![Health badge](/badges/dramosv90-inline-boolean/health.svg)

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

###  Alternatives

[optimistdigital/nova-multiselect-field

A multiple select field for Laravel Nova.

3403.5M7](/packages/optimistdigital-nova-multiselect-field)[digital-creative/conditional-container

Provides an easy way to conditionally show and hide fields in your Nova resources.

116593.8k4](/packages/digital-creative-conditional-container)[genealabs/laravel-overridable-model

Provide a uniform method of allowing models to be overridden in Laravel.

92398.0k2](/packages/genealabs-laravel-overridable-model)[inspheric/nova-defaultable

Default values for Nova fields when creating resources and running resource actions.

51174.8k1](/packages/inspheric-nova-defaultable)[murdercode/nova4-tinymce-editor

Boost your Laravel Nova with the TinyMCE editor.

17165.2k](/packages/murdercode-nova4-tinymce-editor)[yieldstudio/nova-google-autocomplete

A Laravel Nova Google autocomplete field.

12218.4k](/packages/yieldstudio-nova-google-autocomplete)

PHPackages © 2026

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