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

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

fontech/toggle-switch
=====================

A Laravel Nova toggle switch field

v1.4(5y ago)01.8k1MITCSSPHP &gt;=7.1.0

Since Sep 3Pushed 5y agoCompare

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

READMEChangelogDependenciesVersions (6)Used By (0)

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

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

A Laravel Nova toggle switch field

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

[](#installation)

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

```
composer require fontech/toggle-switch
```

Usage:
------

[](#usage)

Add the below to Nova/User.php resource:

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

[![](https://github.com/naifalshaye/toggle-switch/raw/master/screenshots/colors.png)](https://github.com/naifalshaye/toggle-switch/blob/master/screenshots/colors.png)

[![](https://raw.githubusercontent.com/naifalshaye/toggle-switch/master/screenshots/image1.png)](https://raw.githubusercontent.com/naifalshaye/toggle-switch/master/screenshots/image1.png)

[![](https://raw.githubusercontent.com/naifalshaye/toggle-switch/master/screenshots/image2.png)](https://raw.githubusercontent.com/naifalshaye/toggle-switch/master/screenshots/image2.png)

[![](https://raw.githubusercontent.com/naifalshaye/toggle-switch/master/screenshots/image3.png)](https://raw.githubusercontent.com/naifalshaye/toggle-switch/master/screenshots/image3.png)

[![](https://raw.githubusercontent.com/naifalshaye/toggle-switch/master/screenshots/image4.png)](https://raw.githubusercontent.com/naifalshaye/toggle-switch/master/screenshots/image4.png)

Support:
--------

[](#support)

License
-------

[](#license)

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

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 71.4% 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 ~160 days

Total

5

Last Release

2173d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/6954098?v=4)[Sasaya](/maintainers/storyn26383)[@storyn26383](https://github.com/storyn26383)

---

Top Contributors

[![naifalshaye](https://avatars.githubusercontent.com/u/23122187?v=4)](https://github.com/naifalshaye "naifalshaye (20 commits)")[![akiyamaSM](https://avatars.githubusercontent.com/u/12276076?v=4)](https://github.com/akiyamaSM "akiyamaSM (5 commits)")[![storyn26383](https://avatars.githubusercontent.com/u/6954098?v=4)](https://github.com/storyn26383 "storyn26383 (3 commits)")

---

Tags

laravelnova

### Embed Badge

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

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

###  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)
