Zum Inhalt springen
← Zurück zu den Projekten

Filament Benefit

Version: v3 v4 v5 · branch: 3.x

Filament Benefit

#Filament Benefit

Buy Me A Coffee

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

Filament admin UI (CRUD) for jeffersongoncalves/laravel-benefit — manage translatable benefits, with name/description fields, inside a Filament panel.

#Compatibility

Package Version Filament Version
1.x 3.x
2.x 4.x
3.x 5.x

#Installation

You can install the package via composer:

composer require jeffersongoncalves/filament-benefit:"^3.0"

Register the plugin in your panel provider:

use JeffersonGoncalves\FilamentBenefit\FilamentBenefitPlugin;

public function panel(Panel $panel): Panel
{
    return $panel
        ->plugins([
            FilamentBenefitPlugin::make(),
        ]);
}

The Benefit resource renders translatable fields (name, description), so a jeffersongoncalves/filament-translatable plugin instance must also be registered in the same panel.

#Configuration

Publish the config file:

php artisan vendor:publish --tag="filament-benefit-config"
return [
    'navigation_group' => 'Benefits',

    'resources' => [
        'benefit' => \JeffersonGoncalves\FilamentBenefit\Resources\Benefits\BenefitResource::class,
    ],
];

Or configure fluently:

FilamentBenefitPlugin::make()->navigationGroup('Perks');

#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.

Neue Version verfügbar.