jeffersongoncalves/filament-hidden-action

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

Installs: 1

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 0

Forks: 0

Open Issues: 0

pkg:composer/jeffersongoncalves/filament-hidden-action

1.0.1 2025-12-20 15:57 UTC

This package is auto-updated.

Last update: 2025-12-20 15:58:09 UTC


README

Filament Hidden Action

Filament Hidden Action

Latest Version on Packagist GitHub Code Style Action Status Total Downloads

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 4.0 or higher

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.