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

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

markrassamni/inline-boolean
===========================

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

v1.0.0(6y ago)16161.6k↓46.8%17[8 issues](https://github.com/markrassamni/inline-boolean/issues)[1 PRs](https://github.com/markrassamni/inline-boolean/pulls)MITVuePHP &gt;=7.1.0

Since Jun 12Pushed 2y ago1 watchersCompare

[ Source](https://github.com/markrassamni/inline-boolean)[ Packagist](https://packagist.org/packages/markrassamni/inline-boolean)[ Docs](https://github.com/markrassamni/inline-boolean)[ RSS](/packages/markrassamni-inline-boolean/feed)WikiDiscussions master Synced 1mo 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

33

—

LowBetter than 75% of packages

Maintenance10

Infrequent updates — may be unmaintained

Popularity42

Moderate usage in the ecosystem

Community14

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

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

Unknown

Total

1

Last Release

2533d ago

### Community

Maintainers

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

---

Top Contributors

[![markrassamni](https://avatars.githubusercontent.com/u/17393438?v=4)](https://github.com/markrassamni "markrassamni (8 commits)")[![timmfroehlich](https://avatars.githubusercontent.com/u/3512183?v=4)](https://github.com/timmfroehlich "timmfroehlich (1 commits)")

---

Tags

laravelnova

### Embed Badge

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

```
[![Health](https://phpackages.com/badges/markrassamni-inline-boolean/health.svg)](https://phpackages.com/packages/markrassamni-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)
