LaravelPackages.net
Acme Inc.
Toggle sidebar
suleymanozev/filament-radio-button-field

The radio button field for the Filament forms

38.810
36
v4.1.0
About suleymanozev/filament-radio-button-field

suleymanozev/filament-radio-button-field is a Laravel package for the radio button field for the filament forms. It currently has 36 GitHub stars and 38.810 downloads on Packagist (latest version v4.1.0). Install it with composer require suleymanozev/filament-radio-button-field. Discover more Laravel packages by suleymanozev or browse all Laravel packages to compare alternatives.

Last updated

The radio button field for the Filament forms

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

This is where your description should go. Limit it to a paragraph or two. Consider adding a small example.

Installation

You can install the package via composer:

composer require suleymanozev/filament-radio-button-field

Add the package blade files the content section of the tailwind.config.js file.

module.exports = {
    content: [
        "./resources/**/*.blade.php",
        "./vendor/suleymanozev/**/*.blade.php", // Add this line
    ],
    theme: {
        extend: {},
    },
    plugins: [],
}

Optionally, you can publish the views using

php artisan vendor:publish --tag="filament-radio-button-field-views"

Usage

RadioButton::make('amount')
    ->label('Example Label')
    ->options(['1' => 'Example Option Label', '2' => 'Example Option Label 2'])
    ->descriptions(['1' => 'Example Description', '2' => 'Example Description 2'])
    ->columns(3),

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

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

Star History Chart