Download the PHP package leek/filament-right-click without Composer

On this page you can find all versions of the php package leek/filament-right-click. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package filament-right-click

Filament Right Click

Right-click table row and Flowforge card menus for Filament panels.

This package adds a static right-click menu to Filament table records and, when Flowforge is installed, Kanban board cards. Menu items trigger native Filament actions, so action modals, confirmation, authorization, validation, notifications, redirects, and server-side disabled/hidden checks remain owned by Filament.

Installation

Register the plugin on the panels that should support right-click menus:

Usage

Use contextMenuActions() for single-record row menu items and contextMenuBulkActions() for selected-record menu items:

The wrapped actions are registered as table actions, but they are not rendered in the normal row action column. On click, the package calls Filament's table action mounting path for the row record key.

Bulk actions are registered as table bulk actions without rendering in the normal bulk action dropdown. When the right-clicked row is already selected, the bulk menu uses the current Filament selection, including select-all-across-pages state. When the right-clicked row is not selected, the single-record menu opens instead.

Flowforge cards

If relaticle/flowforge is installed, the plugin also registers a contextMenuCardActions() macro on Flowforge boards:

Flowforge card context actions are registered with Filament's action cache, but they are not added to Flowforge's visible card action group. On click, the package calls Flowforge's native card action mounting path with the card's recordKey.

Nested submenus

Use ContextMenuSubmenu for Linear-style flyouts. The parent row is not an action — it only opens a child menu. Nested leaf items still mount the same Filament action paths as top-level items. Submenus may nest further submenus, sections, separators, and items.

Keyboard: ArrowRight / Enter opens a submenu, ArrowLeft / Escape closes it, arrow keys move within the active panel. Pointer: hover or click the parent row to open the flyout; leaving parent + flyout closes it.

ContextMenuSection remains an inline labeled group (children render in the same panel). Prefer ContextMenuSubmenu when the option list should stay off the root menu until requested.

Trigger a workflow (Filament Workflow Engine)

Because context menu items wrap native Filament actions, any action works — including the TriggerWorkflowAction shipped by Filament Workflow Engine. If leek/filament-workflows is installed, drop it into a row menu to let users run a manual workflow against the right-clicked record:

The action opens Workflow Engine's own modal, filtered to manual workflows configured for that record's model, and queues the run — all authorization, rate limiting, and notifications stay owned by the Workflow Engine. No wiring is required beyond installing both packages.

Screenshot

Behavior

Static menu, server-enforced actions

The menu label, icon, and color are static metadata on ContextMenuItem. The underlying Filament action still decides whether the operation can run for the specific record.

If a right-click item points to an action that is hidden, disabled, or unauthorized for a row, Filament will refuse to mount it. The menu closes and no client-side policy decision is made.

Asset loading

Assets are registered as loadedOnRequest() and are requested only by tables that use contextMenuActions() or contextMenuBulkActions().

If you publish or bundle assets in your own build pipeline, keep the DOM contract intact:

Bulk actions

Use contextMenuBulkActions() with ContextMenuItem::forBulkAction() or pass a BulkAction directly:

Bulk actions are still server-enforced by Filament. Hidden, disabled, and unauthorized actions will not mount.

Compatibility

This package targets Filament v4 and v5.

Flowforge support is optional and is registered only when Relaticle\Flowforge\Board exists.

Record actions use Filament's table action mounting path. Bulk actions use the newer unified mountAction() path when available and fall back to Filament's table bulk action compatibility method.

More Filament plugins by Leek

Premium

Free & open source


All versions of filament-right-click with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
filament/filament Version ^5.6.4
spatie/laravel-package-tools Version ^1.15
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package leek/filament-right-click contains the following files

Loading the files please wait ...