PHPackages                             brand3000/nova-toggle-switch - 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. brand3000/nova-toggle-switch

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

brand3000/nova-toggle-switch
============================

A Laravel Nova field.

10821Vue

Since Jun 3Pushed 2y ago1 watchersCompare

[ Source](https://github.com/Brand3000/nova-toggle-switch)[ Packagist](https://packagist.org/packages/brand3000/nova-toggle-switch)[ RSS](/packages/brand3000-nova-toggle-switch/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Nova Toggle Switch Field
------------------------

[](#nova-toggle-switch-field)

A Laravel Nova toggle switch field. Adapted for Nova 4.

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

[](#installation)

You can install the package into a Laravel app that uses Nova via composer:

```
composer require brand3000/nova-toggle-switch dev-master
```

Usage:
------

[](#usage)

Add the below to a nova resource:

```
# You can set the toggle switch color by color code.
Toggle::make('Toggle')->color('#7e3d2f'),

# Also you can set the toggle switch true and false colors that displayed in index and detail views by color code.
Toggle::make('Toggle')->color('#7e3d2f')->onColor('#7a38eb')->offColor('#ae0f04'),

```

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity22

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/2b34bf33fcb783ec187a495984ddaac53a6142bd1fcaecfe45c8c89fbcdb8d2b?d=identicon)[Brand3000](/maintainers/Brand3000)

---

Top Contributors

[![naifalshaye](https://avatars.githubusercontent.com/u/23122187?v=4)](https://github.com/naifalshaye "naifalshaye (21 commits)")[![akiyamaSM](https://avatars.githubusercontent.com/u/12276076?v=4)](https://github.com/akiyamaSM "akiyamaSM (5 commits)")[![Brand3000](https://avatars.githubusercontent.com/u/71566210?v=4)](https://github.com/Brand3000 "Brand3000 (1 commits)")

### Embed Badge

![Health badge](/badges/brand3000-nova-toggle-switch/health.svg)

```
[![Health](https://phpackages.com/badges/brand3000-nova-toggle-switch/health.svg)](https://phpackages.com/packages/brand3000-nova-toggle-switch)
```

###  Alternatives

[flownative/neos-compressor

Output compression for Neos

1679.6k](/packages/flownative-neos-compressor)

PHPackages © 2026

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