Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Filament Right Click Laravel Package

leek/filament-right-click

Adds static right-click context menus to Filament table rows and Flowforge Kanban cards. Menu items trigger native Filament actions, so modals, confirmation, authorization, validation, and notifications stay handled by Filament.

View on GitHub
Deep Wiki
Context7
v2.0.0

Breaking

Requires Filament 5.6.4 or later. Filament v4 is no longer supported. For v4, stay on the 1.x line:

composer require leek/filament-right-click:^1.5

New

Hide menu entries per row with ContextMenuItem::mirrors('rowAction'). The entry only shows on rows that render the named row action, so actions that are hidden for a record or unauthorized drop out of the menu too. Separators left dangling are removed, and a section or submenu disappears once all its entries are hidden. Thanks @grafst (#6, #7, #8).

v1.5.2

Fix

Submenu parents no longer look permanently hovered when the menu first opens.

  • Background highlight uses `:hover`, `.fi-active` (keyboard), and `.fi-submenu-open` only — not bare `:focus`
  • Pointer open focuses the first row without painting it; keyboard open still paints
v1.5.1

Fix

Submenu parent rows now show a clearer trailing chevron:

  • Intrinsic SVG width/height so the caret is visible even if CSS arrives late
  • Stronger contrast color and non-shrinking flex box so it stays pinned right
v1.5.0

Nested submenus

  • New ContextMenuSubmenu entry type: parent row opens a flyout of child entries without mounting a Filament action.
  • Nested leaf actions still register on the Livewire host and mount via the existing table / Flowforge paths.
  • Hover, click, and keyboard (ArrowRight/Enter open, ArrowLeft/Escape close) with viewport-aware positioning.
  • Submenus may nest further submenus, sections, separators, and items.
  • ContextMenuSection remains an inline labeled group; use ContextMenuSubmenu for Linear-style flyouts.

Upgrade

composer update leek/filament-right-click
php artisan filament:assets
v1.4.0

What's Changed

  • Icon and color inheritance — ContextMenuItem now falls back to the wrapped Action's icon and color when none are set on the item, so Action::make('delete')->icon(...)->color('danger') no longer needs the config repeated on the menu item. Explicit ->icon() / ->color() on the item still win, and non-string action colors (custom palette arrays) are omitted since the menu only styles named color classes. Ported from #4 by @W84T.

Full Changelog: https://github.com/leek/filament-right-click/compare/v1.3.6...v1.4.0

v1.3.6

What's Changed

Security and release-hygiene improvements:

  • CI workflows — run-tests (PHP 8.2–8.4 × Laravel 11–13) and code-style (Pint), with all GitHub Actions pinned to commit SHAs
  • Security policy — added SECURITY.md with private vulnerability reporting instructions
  • Dependabot — weekly updates for Composer and GitHub Actions with a 7-day cooldown
  • Leaner dist archives — .gitattributes export-ignore rules keep tests, CI config, and build tooling out of Composer installs

Full Changelog: https://github.com/leek/filament-right-click/compare/v1.3.5...v1.3.6

v1.3.5

Docs / metadata only — no code or behavior changes.

  • Add a More Filament plugins by Leek section to the README cross-linking the premium plugins (UI Plus, Workflow Engine, Decision Tables) and the free/open-source siblings.
  • Add relevant composer.json suggest entries pointing at companion plugins (sorted alphabetically).
  • Document the Right Click integration: wrap the shipped TriggerWorkflowAction in a ContextMenuItem to trigger a manual workflow on a right-clicked record.
v1.3.4

Fix context menu item icon rendering by using Laravel's ComponentAttributeBag when generating Filament icon HTML.

Resolves #2 via #1. Thanks @jouniikaheimo.

v1.3.1

Fixes Flowforge context menu macro registration when board configuration is evaluated before the Filament panel plugin has registered.

v1.3.0

Adds optional Flowforge support for right-clicking Kanban cards and triggering native Filament actions via contextMenuCardActions().

v1.2.0

What's changed

  • Added a dedicated contextMenuBulkActions([...]) table macro for selected-record right-click menus.
  • Kept contextMenuActions([...]) record-only and added validation that points bulk actions to the new macro.
  • Updated the browser adapter so selected rows open the bulk menu, while unselected rows keep opening the single-record menu.
  • Removed the old fallback where a bulk action could run against an unselected row as a one-off record.

Verification

  • composer test
  • vendor/bin/pint --test
  • npm run build
  • git diff --check
v1.1.3

Allow context menus to open from Filament table row navigation links while preserving explicit ignore targets and nested control suppression.

v1.1.2

Allow right-click menus to open from row link content while still ignoring buttons, inputs, and explicit ignore targets.

v1.1.1

Fix Livewire action triggering in panels where Livewire.find() exposes as a proxy function.

v1.1.0

Adds bulk action support for right-click menus.

  • ContextMenuItem now detects Filament\Actions\BulkAction and targets it as a bulk menu item.
  • Adds ContextMenuItem::forBulkAction(...).
  • Right-clicking a selected row applies bulk actions to the current Filament selection.
  • Right-clicking an unselected row applies the bulk action to that row only.
  • Preserves Filament select-all-across-pages deselected-record tracking before mounting the action.
  • Updates README examples and rebuilt package assets.

Validated with npm build, Composer validation, Pest, Pint, and diff whitespace checks.

v1.0.0

Initial v1 release for Filament Right Click.

  • Adds a contextMenuActions() table macro for server-defined right-click menus.
  • Triggers native Filament table actions from static context menu entries.
  • Includes keyboard access, Filament-style menu styling, lazy-loaded assets, and tests.
  • Keeps the payload shape ready for a later bulk right-click target.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
gmostafa/php-graphql-client
xeviant/paystack
snowsoft/faker
meditationsteps/blogetc
animalyoung/laravel-influxdb
onix-solutions/sms-telera
lonely-lights/prosetta
oxygen/data
oxygen/core
jengo/base
xiloryx/log-collector
a21ns1g4ts/filament-stripe
la-php/laravel-admin
artisan-build/community-prompts
vleroy/smart
ayles-software/laravel-australian-public-holidays
cboxdk/laravel-id-spatie
cboxdk/laravel-id-billing
cboxdk/laravel-id-billing-bridge
simple-as-fuck/php-performance-log