Download the PHP package charlieetienne/toggle-buttons-column without Composer
On this page you can find all versions of the php package charlieetienne/toggle-buttons-column. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download charlieetienne/toggle-buttons-column
More information about charlieetienne/toggle-buttons-column
Files in charlieetienne/toggle-buttons-column
Package toggle-buttons-column
Short Description A Filament table column component to have toggle buttons but in a table column.
License MIT
Homepage https://github.com/charlieetienne/toggle-buttons-column
Informations about the package toggle-buttons-column
ToggleButtonsColumn
Like Filament's ToggleButtons, but for table columns.
Installation
You can install the package via composer:
Usage
Use ToggleButtonsColumn in your Filament tables:
Using enums
Like Filament's ToggleButtons, you can use enums to define your options:
Grouped toggle buttons
Like Filament's ToggleButtons form component, you can group your options using the grouped() method:
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
- PHP 8.2+
- Filament 4.0+
- Laravel 11.0+
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
The MIT License (MIT). Please see License File for more information.
Credits
- Built for Filament
- Created by Charlie Etienne