Hidden Action plugin screenshot
Dark mode ready
Multilingual support
Supports v5.x

Hidden Action

A hidden action that allows you to define it without rendering it in the UI.

Tags: Action
Supported versions:
4.x
Jefferson Gonçalves avatar Author: Jefferson Gonçalves

Documentation

Filament Hidden Action

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