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 Relation Pages Laravel Package

gheith3/filament-relation-pages

Filament Relation Pages lets you add fully custom, free-form tabs alongside Relation Managers in any resource—no forced table or relationship. Build pages with Filament schema components, Blade/HTML, Alpine.js, and more. Includes an artisan generator.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Enhanced Admin UX: Enable custom, non-tabular views for related records (e.g., dashboards, analytics, or custom workflows) alongside Filament’s default RelationManager tabs. Reduces reliance on clunky workarounds like custom pages or bloated tables.
  • Build vs. Buy: Buy—avoids reinventing wheel for dynamic, relation-aware tabs. Justifies investment if Filament’s native RelationManager lacks flexibility (e.g., no support for non-tabular layouts).
  • Roadmap Priorities:
    • Phase 1: Replace hardcoded tables in admin panels with custom relation pages (e.g., replace a "Projects" table with a "Project Overview" card + "Tasks" table).
    • Phase 2: Standardize relation pages for critical workflows (e.g., customer portals, order summaries) to reduce dev overhead.
    • Phase 3: Extend to tenant-aware or multi-panel apps (e.g., admin vs. tenant views).
  • Use Cases:
    • Data Visualization: Embed charts (via Alpine.js or Filament components) for related records (e.g., "Orders by Month" for a customer).
    • Multi-Step Workflows: Replace nested forms with tabbed relation pages (e.g., "Order Details" + "Shipping Info" as separate tabs).
    • Legacy Migration: Modernize monolithic admin pages by splitting into modular relation pages.
    • Third-Party Integrations: Surface API data or external service responses in Filament without custom controllers.

When to Consider This Package

Adopt If:

  • Your Filament resources require custom tabs beyond RelationManager (e.g., no table needed, or mixed content like HTML + Filament components).
  • You’re using Filament v4/v5 and Laravel 12/13 (compatibility is strict).
  • Your team prioritizes developer velocity over custom Livewire components (scaffolding via make:filament-relation-page reduces boilerplate).
  • You need dynamic tab visibility (e.g., hide tabs based on record state) or lazy loading for performance.
  • Your admin panels mix structured data (tables) with unstructured content (e.g., markdown, iframes, or custom JS).

Look Elsewhere If:

  • You only need standard relation tables—use Filament’s built-in RelationManager (no extra package needed).
  • Your app uses Filament v3 or older (incompatible).
  • You require complex state management between tabs**—this package focuses on static/relation-aware content. For dynamic inter-tab sync, consider a custom Livewire component.
  • Your team lacks Filament familiarity—this package assumes knowledge of Filament’s schema system and Livewire.
  • You need multi-record editing—this is designed for single-record contexts (like RelationManager).

How to Pitch It (Stakeholders)

For Executives:

**"This package lets us build faster, more flexible admin panels in Filament without sacrificing UX. Instead of forcing all related data into tables—where users have to click through pages or scroll endlessly—we can add custom tabs for things like:

  • Customer dashboards (e.g., ‘Orders,’ ‘Support Tickets,’ ‘Analytics’ as separate tabs).
  • Order summaries with embedded payment links or tracking info.
  • Audit logs or activity feeds for records, without bloating the main view.

It’s like giving our admin panels a ‘tabbed notebook’—each tab is a focused, reusable component. This reduces dev time by 30% for common patterns (e.g., replacing a custom ‘Orders’ page with a relation tab) and makes the UI more intuitive for power users. No major risk—it’s a drop-in plugin with Filament’s native look and feel."**

For Engineers:

**"This solves a gap in Filament’s RelationManager: it lets you add custom, non-tabular tabs alongside related records. Key benefits:

  • Scaffolding: php artisan make:filament-relation-page generates a class + Blade view in seconds.
  • Flexibility: Mix Filament components (e.g., Infolists, Forms) with raw HTML/Alpine.js.
  • Performance: Supports lazy loading (like RelationManager) and dynamic visibility rules.
  • Integration: Works seamlessly with Filament’s schema system—no need to rewrite existing components.

Use it when:

  • You need a tab that’s not a table (e.g., a ‘Summary’ card for a project).
  • You want to avoid custom Livewire components for relation-aware views.
  • Your team is already using Filament v4/5 and Laravel 12/13.

Example: Replace a hardcoded ‘Customer Orders’ page with a relation tab that shows:

  • A summary card (Filament Infolist).
  • A ‘Recent Orders’ table (RelationManager).
  • A ‘Contact Support’ button (custom HTML).

Tradeoff: Not for multi-record editing or complex inter-tab state. For those, a custom Livewire component is still better."**

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.
daikazu/eloquent-salesforce-objects
unseen-codes/chat
romalytar/yammi-jobs-monitoring-laravel
kisame76/filament-db-table-state
nqxcode/laravel-lucene-search
dpfx/laravel-livewire-wizards
workos/workos-php-laravel
sofa/laravel-global-scope
nawasara/auth-primitives
adhocrat-io/arkhe-main
make-dev/orca-harpoon
itsemon245/lamet
baks-dev/dashboard
amoifr/pickle-panther-bundle
make-dev/orca
dmstr/symfony-system-resources-bundle
dmstr/symfony-job-queue-bundle
dmstr/openapi-json-schema-bundle
dmstr/keycloak-security-bundle
dmstr/doctrine-audit-log-bundle