Download the PHP package tonegabes/filament-better-options without Composer

On this page you can find all versions of the php package tonegabes/filament-better-options. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package filament-better-options

Filament Better Options

Latest Version on Packagist Total Downloads

Enhanced form components for Filament Forms with modern interface, advanced features, and excellent performance. Provides CheckboxList, CheckboxCards, RadioList and RadioCards with icons, visual indicators, descriptions, extra texts, per-option colors, search functionality, and bulk operations.

Available components

Family List Cards
Checkbox CheckboxList CheckboxCards
Radio RadioList RadioCards

Features

Enhanced UI Components

Advanced Features

🎨 Extensible Architecture

Performance & Caching

Requirements

Optional

Installation

Install the package via Composer:

Optionally, publish the configuration file for positioning settings:

Optionally, publish the assets for customization:

Configuration

The published configuration file (config/better-options.php) provides customization positioning options:

Usage

Basic Examples

Checkbox Cards Demo

Checkbox List Demo

Radio Cards Demo

Radio List Demo

Using Enums

This package provides a convenient way to use PHP enums for defining options, descriptions, and icons. Here's how you can leverage enums in your component definitions:

Passing a Backend Enum automatically maps the enum cases to the component options, descriptions, icons, and extra texts.

You can hide the descriptions, icons, and extra texts if you don't need them.

Advanced Features

Search and Bulk Operations

Radio List Demo

Custom Positioning and Visibility

Radio Cards Demo

Icons and Indicators

Radio List Indicators Demo

Extra Texts/Values

Checkbox Cards Extratexts Demo

Pre-defined Themes

Available Components

Component Description Features
CheckboxList Vertical list of checkboxes Search, Bulk toggle, Icons
CheckboxCards Grid of checkbox cards All list features + Columns, Centering
RadioList Vertical list of radio buttons Extends native Radio, icons, custom indicators
RadioCards Grid of radio button cards All list features + Columns, Centering, Themes

Color by enum

Every component supports a per-option color. When the associated enum implements Filament\Support\Contracts\HasColor, each case's getColor() is used automatically to tint its option:

You can also provide colors explicitly, bypassing the enum contract:

Component Methods

Common Methods (All Components)

Checkbox-Specific Methods

Card-Specific Methods

Styling and Themes

The package uses Tailwind CSS classes and supports Filament's theming system. Main CSS classes:

Credits

License

The MIT License (MIT). Please see License File for more information.


Made with ❤️ by Tone Gabes


All versions of filament-better-options with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
filament/forms Version ^5.0
spatie/laravel-package-tools Version ^1.15.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package tonegabes/filament-better-options contains the following files

Loading the files please wait ...