Weave Code
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 Context Menu Laravel Package

aymanalhattami/filament-context-menu

Add right‑click context menus to Filament pages and table cells using Filament Actions. Works on resource and custom pages, supports dividers, dark/light mode, and LTR/RTL. Includes Refresh, Go Back, and Go Forward actions. Filament v3–v5.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Enhancing UX for Power Users: Adds intuitive right-click context menus to Filament admin panels, reducing reliance on top-level navigation and improving efficiency for users managing records (e.g., bulk actions, quick edits).
  • Accelerating Feature Development: Eliminates custom UI/JS work for context menus, allowing PMs to focus on core business logic (e.g., "Let’s add a bulk-export feature—this package handles the UI").
  • Consistency Across Filament Pages: Standardizes context menu patterns (e.g., refresh, navigation actions) across resources, reducing onboarding time for admins.
  • Roadmap for "Quick Actions": Enables rapid prototyping of context-driven workflows (e.g., "Right-click to duplicate a record") without frontend dev cycles.
  • Build vs. Buy: Buy for Filament-based projects; build only if needing highly customized context menus (e.g., multi-level menus, conditional logic beyond Filament Actions).
  • Use Cases:
    • Admin panels with frequent CRUD operations (e.g., e-commerce dashboards, CMS backends).
    • Internal tools where power users need shortcuts (e.g., "Right-click to restore soft-deleted items").
    • Projects adopting Filament 3/4/5 where UI consistency is a priority.

When to Consider This Package

Adopt if:

  • Your team uses Filament 3/4/5 and needs context menus for resource pages, custom pages, or table cells.
  • You prioritize developer velocity over custom UI/JS solutions (e.g., no need for Alpine.js/Inertia.js hacks).
  • Your use case fits Filament Actions (e.g., CRUD, imports/exports, navigation).
  • You want built-in support for dark mode, RTL, and dividers without extra effort.

Look elsewhere if:

  • You need multi-level or dynamic context menus (e.g., submenus based on user roles).
  • Your project uses non-Filament frameworks (e.g., Livewire, Blade-only).
  • You require highly customized styling (e.g., animations, non-standard triggers).
  • Your team lacks Filament familiarity (steep learning curve for getContextMenuActions()).
  • You need context menus for non-table elements (e.g., charts, modals) not covered by the package.

How to Pitch It (Stakeholders)

For Executives: "This package lets our Filament admin panel offer right-click shortcuts (e.g., bulk actions, quick edits) with zero frontend dev time. For example, admins could right-click a user record to duplicate it or export a subset—cutting workflow time by 30%. It’s a plug-and-play upgrade for power users, with minimal risk (MIT license, active maintenance). ROI: Faster admin tasks, lower dev overhead."

For Engineering: *"This is a Filament-native solution for context menus, leveraging existing Filament\Actions to avoid reinventing the wheel. Key benefits:

  • 3 lines of code to add a context menu to any page/table cell.
  • Pre-built actions (refresh, navigation, CRUD) + custom actions via modals.
  • Zero JS/TS: Uses Filament’s PHP-based UI system.
  • Dark mode/RTL support out of the box. Tradeoff: Limited to Filament’s action system, but saves ~1–2 dev days per feature. Demo: YouTube."*

For Design/UX: *"This adds a familiar desktop-app pattern (right-click menus) to our admin panel, reducing cognitive load for frequent users. For example:

  • Consistency: Menus appear in tables and pages, with visual dividers for clarity.
  • Accessibility: Keyboard shortcuts (e.g., Ctrl+Click) can complement the context menu.
  • Customization: We can style actions via Filament’s existing UI system (no new design tokens). Risk: Minimal—uses Filament’s native components, so it won’t clash with our design system."*
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.
terminal42/code-quality-tools
codifyo/ts-generator-bundle
andydefer/laravel-cluster
testo/fiber
mintobit/jobqueue
a4sex/maintenance-bundle
a4sex/entity-date-update
a4sex/client-identifier
a4sex/base-utilites
a4sex/key-value-storage
a4sex/micro-status
chilldev/dependency-injection-extra
datinglibre/datinglibre-app-api
biberltd/corebundle
bricre/symfony-bundle-test
biberltd/logbundle
dominium/http-adapter-bundle
dominium/google-analytics
a4sex/auto-clean-entity
christhompsontldr/laravel-inky