Saltar al contenido
← Volver a proyectos

Filament Hidden Action

Filament hidden action that allows you to define actions without rendering them in the UI.

Filament Hidden Action

#Filament Hidden Action

Buy Me A Coffee

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

This package provides a HiddenAction for Filament, allowing you to define actions that are not visible in the UI but can still be triggered programmatically or via keyboard shortcuts.

#Requirements

  • PHP 8.2 or higher
  • Filament 5.0

#Installation

You can install the package via composer:

composer require jeffersongoncalves/filament-hidden-action

#Usage

The HiddenAction can be used just like any other Filament Action, but it won't render any button or link in the UI. This is useful when you need to trigger an action programmatically or via a keyboard shortcut without showing it.

use JeffersonGoncalves\Filament\HiddenAction\HiddenAction;

HiddenAction::make('hidden-action')
    ->action(function () {
        // Your logic here
    });

#Development

You can run code analysis and formatting using the following commands:

# Run static analysis
composer analyse

# Format code
composer format

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

Nueva versión disponible.