PHPackages                             charlieetienne/toggle-buttons-column - 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. charlieetienne/toggle-buttons-column

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

charlieetienne/toggle-buttons-column
====================================

A Filament table column component to have toggle buttons but in a table column.

1.2.0(7mo ago)28MITPHPPHP ^8.2

Since Jan 13Pushed 7mo agoCompare

[ Source](https://github.com/CharlieEtienne/toggle-buttons-column)[ Packagist](https://packagist.org/packages/charlieetienne/toggle-buttons-column)[ Docs](https://github.com/charlieetienne/toggle-buttons-column)[ GitHub Sponsors](https://github.com/CharlieEtienne)[ RSS](/packages/charlieetienne-toggle-buttons-column/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (3)Dependencies (2)Versions (4)Used By (0)

ToggleButtonsColumn
===================

[](#togglebuttonscolumn)

Like Filament's ToggleButtons, but for table columns.

[![toggle-buttons-column-for-filament](https://private-user-images.githubusercontent.com/9772943/535138283-592d9683-4a99-499f-bf2f-454a89305c27.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3ODYzMTA2MjYsIm5iZiI6MTc4NjMxMDMyNiwicGF0aCI6Ii85NzcyOTQzLzUzNTEzODI4My01OTJkOTY4My00YTk5LTQ5OWYtYmYyZi00NTRhODkzMDVjMjcucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MDgwOSUyRnVzLWVhc3QtMSUyRnMzJT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B0hYW_L4zf6d1jMK_Q6Y)Installation
------------

[](#installation)

You can install the package via composer:

```
composer require charlieetienne/toggle-buttons-column
```

Usage
-----

[](#usage)

Use ToggleButtonsColumn in your Filament tables:

```
use CharlieEtienne\ToggleButtonsColumn\ToggleButtonsColumn;

ToggleButtonsColumn::make('status')
    ->options([
        'unsigned' => 'Unsigned',
        'present' => 'Present',
        'absent' => 'Absent',
    ])
    ->icons([
        'unsigned' => Heroicon::Clock,
        'present' => Heroicon::Check,
        'absent' => Heroicon::XMark,
    ])
    ->colors([
        'unsigned' => 'warning',
        'present' => 'success',
        'absent' => 'danger',
    ]),
```

### Using enums

[](#using-enums)

Like Filament's ToggleButtons, you can use enums to define your options:

```
    ToggleButtonsColumn::make('status')
        ->options(OrderStatus::class)
```

### Grouped toggle buttons

[](#grouped-toggle-buttons)

Like Filament's ToggleButtons form component, you can group your options using the `grouped()` method:

```
    ToggleButtonsColumn::make('status')
        ->grouped()
        ->options(OrderStatus::class)
```

### Options

[](#options)

This column accepts all the same styling options as Filament's ToggleButtons, except for `inline`.

For example, you can use `boolean()`, `grouped()`, etc.

Additionally, you have access to all the editable column methods like `getStateUsing()`, `updateStateUsing()`, etc.

Requirements
------------

[](#requirements)

- PHP 8.2+
- Filament 4.0+
- Laravel 11.0+

Contributing
------------

[](#contributing)

Contributions are welcome! Please feel free to submit a Pull Request.

License
-------

[](#license)

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

Credits
-------

[](#credits)

- Built for [Filament](https://filamentphp.com)
- Created by [Charlie Etienne](https://github.com/charlieetienne)

###  Health Score

34

—

LowBetter than 74% of packages

Maintenance65

Regular maintenance activity

Popularity7

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 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.

###  Release Activity

Cadence

Every ~3 days

Total

3

Last Release

211d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/9772943?v=4)[Charlie Etienne](/maintainers/CharlieEtienne)[@CharlieEtienne](https://github.com/CharlieEtienne)

---

Top Contributors

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

---

Tags

laraveltablefilamentcolumntoggle-buttons

### Embed Badge

![Health badge](/badges/charlieetienne-toggle-buttons-column/health.svg)

```
[![Health](https://phpackages.com/badges/charlieetienne-toggle-buttons-column/health.svg)](https://phpackages.com/packages/charlieetienne-toggle-buttons-column)
```

###  Alternatives

[ysfkaya/filament-phone-input

A phone input component for Laravel Filament

3221.4M29](/packages/ysfkaya-filament-phone-input)[rawilk/profile-filament-plugin

Profile &amp; MFA starter kit for filament.

3915.5k](/packages/rawilk-profile-filament-plugin)[zeeshantariq/filament-sticky-columns

Sticky / frozen table columns for Filament v3, v4, and v5

152.9k](/packages/zeeshantariq-filament-sticky-columns)[tapp/filament-form-builder

User facing form builder using Filament components

133.5k6](/packages/tapp-filament-form-builder)[wsmallnews/filament-nestedset

Filament nestedset tree builder powered by kalnoy/nestedset with Filament v4 and v5 support

218.8k22](/packages/wsmallnews-filament-nestedset)[cocosmos/filament-quick-add-select

Instantly create and select new options in Filament relationship selects without opening modals

179.9k](/packages/cocosmos-filament-quick-add-select)

PHPackages © 2026

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