PHPackages                             andrewdwallo/filament-selectify - 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. andrewdwallo/filament-selectify

ActiveLibrary

andrewdwallo/filament-selectify
===============================

This is my package filament-selectify

v3.0.0(9mo ago)4580.2k↑23.1%10[4 PRs](https://github.com/andrewdwallo/filament-selectify/pulls)MITBladePHP ^8.2CI passing

Since Jul 1Pushed 4mo ago3 watchersCompare

[ Source](https://github.com/andrewdwallo/filament-selectify)[ Packagist](https://packagist.org/packages/andrewdwallo/filament-selectify)[ Docs](https://github.com/andrewdwallo/filament-selectify)[ RSS](/packages/andrewdwallo-filament-selectify/feed)WikiDiscussions 3.x Synced 1mo ago

READMEChangelog (10)Dependencies (8)Versions (18)Used By (0)

Filament Selectify
==================

[](#filament-selectify)

A small package featuring two simple components that serve as excellent alternatives to toggles, radio buttons, and other selectors. These components not only offer seamless user interactions but also maintain UI consistency by effortlessly aligning with neighboring fields and components.

[![ButtonGroup2](https://private-user-images.githubusercontent.com/104294090/250219723-053194af-cc0f-471d-ab0d-c4b6753c49ae.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzQ2NzY3MzMsIm5iZiI6MTc3NDY3NjQzMywicGF0aCI6Ii8xMDQyOTQwOTAvMjUwMjE5NzIzLTA1MzE5NGFmLWNjMGYtNDcxZC1hYjBkLWM0YjY3NTNjNDlhZS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjYwMzI4JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI2MDMyOFQwNTQwMzNaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1kN2RmYzk5ZmM3OWZiMGM3OTQ4Y2NhYzBiOTVhNDVlNTdhZmQyMTIzN2U0MTM2MGMzMWE2OTdlNzUzYTc3Nzk3JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.vtYDGUvKn0mV8C5sqswiR2QYjR99MBvugh4oxBdsugw)](https://private-user-images.githubusercontent.com/104294090/250219723-053194af-cc0f-471d-ab0d-c4b6753c49ae.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzQ2NzY3MzMsIm5iZiI6MTc3NDY3NjQzMywicGF0aCI6Ii8xMDQyOTQwOTAvMjUwMjE5NzIzLTA1MzE5NGFmLWNjMGYtNDcxZC1hYjBkLWM0YjY3NTNjNDlhZS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjYwMzI4JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI2MDMyOFQwNTQwMzNaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1kN2RmYzk5ZmM3OWZiMGM3OTQ4Y2NhYzBiOTVhNDVlNTdhZmQyMTIzN2U0MTM2MGMzMWE2OTdlNzUzYTc3Nzk3JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.vtYDGUvKn0mV8C5sqswiR2QYjR99MBvugh4oxBdsugw)[![ToggleButton](https://private-user-images.githubusercontent.com/104294090/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dGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjYwMzI4JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI2MDMyOFQwNTQwMzNaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT00MmM2MmYyMjBmMGM2MzMyNDdiOGNmMGFkZDFiOWZkZjM4MDg4ODU0YWI3MjY0N2Y1ODkyM2U2MmU0ZDU1OWRhJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.bInEI0A-y4zAtrWdmfLQtttQHPy4Cx5lZhtjUtCC4Ik)

 [ ![FILAMENT 4.x](https://camo.githubusercontent.com/13befbe0cffd101b2484ce1cdd985dabcddcbf1176d17a675674d53af99cfdbc/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f46494c414d454e542d342e782d4542423330343f7374796c653d666f722d7468652d6261646765) ](https://filamentphp.com) [ ![Packagist](https://camo.githubusercontent.com/23ce033685a685562e94abff11a92e587574ce3fd0287eb25dd2a638d6f9062c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f616e647265776477616c6c6f2f66696c616d656e742d73656c6563746966792e7376673f7374796c653d666f722d7468652d6261646765266c6f676f3d7061636b6167697374) ](https://packagist.org/packages/andrewdwallo/filament-selectify) [ ![Downloads](https://camo.githubusercontent.com/cb65154f2bb9358f361d7ff15565bad3657f60f046632dd9c14e1de8c655e438/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f616e647265776477616c6c6f2f66696c616d656e742d73656c6563746966793f636f6c6f723d726564267374796c653d666f722d7468652d6261646765) ](https://packagist.org/packages/andrewdwallo/filament-selectify)

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

[](#installation)

You can install the package via composer:

```
composer require andrewdwallo/filament-selectify
```

Optionally, you can publish the views using

```
php artisan vendor:publish --tag="filament-selectify-views"
```

Registering Styles
------------------

[](#registering-styles)

In order for the component's styles to be processed, you must add this package's vendor directory into your panels custom `theme.css` file. You can see how to create a Filament PHP custom theme [here](https://filamentphp.com/docs/admin/themes#custom-themes).

```
@source '../../../../vendor/andrewdwallo/filament-selectify/resources/views';
```

Usage
-----

[](#usage)

### ToggleButton

[](#togglebutton)

The ToggleButton has the following options. The `onLabel()` and `offLabel()` represent the true and false states. You may also customize the color representing each state using `onColor()` and `offColor()`.

```
ToggleButton::make('enabled')
    ->offColor('danger')
    ->onColor('primary')
    ->offLabel('No')
    ->onLabel('Yes')
    ->default(true),
```

[![Screenshot 2023-06-30 225445](https://private-user-images.githubusercontent.com/104294090/250222859-dc934b61-ecb4-485e-a4d8-9e46ba357d55.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzQ2NzY3MzMsIm5iZiI6MTc3NDY3NjQzMywicGF0aCI6Ii8xMDQyOTQwOTAvMjUwMjIyODU5LWRjOTM0YjYxLWVjYjQtNDg1ZS1hNGQ4LTllNDZiYTM1N2Q1NS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjYwMzI4JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI2MDMyOFQwNTQwMzNaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0yODY1NDU5YjJhM2QxOWJkZWI1YmQyNmFiZjRkYTBkMzlkYzUzMGY4OTc4OTgyNGVkODk1NzQ1NWYwMTgyMjUyJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.WiTfAo7QEQhH7PnSkyyoMZE8y9p-Mf67_W5IZXv4k1Q)](https://private-user-images.githubusercontent.com/104294090/250222859-dc934b61-ecb4-485e-a4d8-9e46ba357d55.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzQ2NzY3MzMsIm5iZiI6MTc3NDY3NjQzMywicGF0aCI6Ii8xMDQyOTQwOTAvMjUwMjIyODU5LWRjOTM0YjYxLWVjYjQtNDg1ZS1hNGQ4LTllNDZiYTM1N2Q1NS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjYwMzI4JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI2MDMyOFQwNTQwMzNaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0yODY1NDU5YjJhM2QxOWJkZWI1YmQyNmFiZjRkYTBkMzlkYzUzMGY4OTc4OTgyNGVkODk1NzQ1NWYwMTgyMjUyJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.WiTfAo7QEQhH7PnSkyyoMZE8y9p-Mf67_W5IZXv4k1Q)

### ButtonGroup

[](#buttongroup)

The ButtonGroup has the following options. You may customize the color representing each state. The `onColor()` represents the button or value that is selected and the `offColor()` represents the button or value that is not selected. You may use `gridDirection()` to change the layout of the buttons. The options are `column` and `row`. The default is `column`. You may optionally add icons for the buttons using `icons()` and supplying an array that contains the option values as keys and icon names as values. Icon position and size can be changed using `iconPosition()` (default: before) and `iconSize()` (default: Small).

```
ButtonGroup::make('entity')
    ->options([
        'individual' => 'Individual',
        'company' => 'Company',
    ])
    ->onColor('primary')
    ->offColor('gray')
    ->gridDirection('row')
    ->default('individual')
    ->icons([
        'individual' => 'heroicon-m-user',
        'company' => 'heroicon-m-building-office',
    ])
    ->iconPosition(\Filament\Support\Enums\IconPosition::After)
    ->iconSize(Filament\Support\Enums\IconSize::Medium),
```

[![Screenshot 2023-06-30 224052](https://private-user-images.githubusercontent.com/104294090/250222263-b04bf9ce-197a-4ea1-aa75-4fefa07c7f77.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzQ2NzY3MzMsIm5iZiI6MTc3NDY3NjQzMywicGF0aCI6Ii8xMDQyOTQwOTAvMjUwMjIyMjYzLWIwNGJmOWNlLTE5N2EtNGVhMS1hYTc1LTRmZWZhMDdjN2Y3Ny5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjYwMzI4JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI2MDMyOFQwNTQwMzNaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1mYjE0ZjdiZTllMGY4ZTRhYmVhMDlmZGQyNzRmZDBhNTBjM2YzNjExMzNjMDgwZDNjODkxMWE4MTE2ZmMxNmFhJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.pJfs9A-laQrozRLCFVBFJSpaMjmsT-IDQgVzlf6iCZs)](https://private-user-images.githubusercontent.com/104294090/250222263-b04bf9ce-197a-4ea1-aa75-4fefa07c7f77.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzQ2NzY3MzMsIm5iZiI6MTc3NDY3NjQzMywicGF0aCI6Ii8xMDQyOTQwOTAvMjUwMjIyMjYzLWIwNGJmOWNlLTE5N2EtNGVhMS1hYTc1LTRmZWZhMDdjN2Y3Ny5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjYwMzI4JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI2MDMyOFQwNTQwMzNaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1mYjE0ZjdiZTllMGY4ZTRhYmVhMDlmZGQyNzRmZDBhNTBjM2YzNjExMzNjMDgwZDNjODkxMWE4MTE2ZmMxNmFhJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.pJfs9A-laQrozRLCFVBFJSpaMjmsT-IDQgVzlf6iCZs)

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

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

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Andrew Wallo](https://github.com/andrewdwallo)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

53

—

FairBetter than 97% of packages

Maintenance69

Regular maintenance activity

Popularity44

Moderate usage in the ecosystem

Community19

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 63.2% 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 ~66 days

Recently: every ~141 days

Total

15

Last Release

126d ago

Major Versions

v1.0.1 → v2.0.02023-08-04

2.x-dev → v3.0.02025-08-21

PHP version history (3 changes)v1.0.0PHP ^8.0

v1.0.1PHP ^8.1

v3.0.0PHP ^8.2

### Community

Maintainers

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

---

Top Contributors

[![andrewdwallo](https://avatars.githubusercontent.com/u/104294090?v=4)](https://github.com/andrewdwallo "andrewdwallo (43 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (9 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (5 commits)")[![daikazu](https://avatars.githubusercontent.com/u/4039367?v=4)](https://github.com/daikazu "daikazu (5 commits)")[![josefbehr](https://avatars.githubusercontent.com/u/4368880?v=4)](https://github.com/josefbehr "josefbehr (4 commits)")[![martin-ro](https://avatars.githubusercontent.com/u/10107779?v=4)](https://github.com/martin-ro "martin-ro (1 commits)")[![ronfuller](https://avatars.githubusercontent.com/u/9759221?v=4)](https://github.com/ronfuller "ronfuller (1 commits)")

---

Tags

laravelandrewdwallofilament-selectify

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/andrewdwallo-filament-selectify/health.svg)

```
[![Health](https://phpackages.com/badges/andrewdwallo-filament-selectify/health.svg)](https://phpackages.com/packages/andrewdwallo-filament-selectify)
```

###  Alternatives

[codewithdennis/filament-select-tree

The multi-level select field enables you to make single selections from a predefined list of options that are organized into multiple levels or depths.

320392.1k17](/packages/codewithdennis-filament-select-tree)[ralphjsmit/laravel-filament-components

A collection of reusable components for Filament.

10972.2k2](/packages/ralphjsmit-laravel-filament-components)[rawilk/filament-password-input

Enhanced password input component for filament.

52232.4k3](/packages/rawilk-filament-password-input)[vormkracht10/laravel-mails

Laravel Mails can collect everything you might want to track about the mails that has been sent by your Laravel app.

24149.7k](/packages/vormkracht10-laravel-mails)[schmeits/filament-character-counter

This is a Filament character counter TextField and Textarea form field for Filament v4 and v5

33184.7k6](/packages/schmeits-filament-character-counter)[defstudio/filament-searchable-input

A searchable autocomplete input for Filament forms

3212.4k](/packages/defstudio-filament-searchable-input)

PHPackages © 2026

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