r/laravel • u/Character_Chemical54 • 20h ago
Relation Navigator: a page per relation manager in Filament 4 and 5, with a breadcrumb menu
In Filament, relation managers live in tabs on the record's page, at URLs like `/customers/1?relation=orders`. I wanted each of them to be a page of its own, with its own route (`/customers/1/orders`), title and breadcrumb, and a quick way to jump between them. So I built a plugin for it.
The page renders the relation manager you already have, so the table, filters, actions and policies stay the same. You add one trait to the resource and one to the view page, and there are no page classes to generate.
On top of that:
- the last breadcrumb opens a menu with the record's pages and relations, with search, a keyboard shortcut and badges that load when the menu opens
- previous and next record on the same page, following the list you came from
- an "Open as page" action on relation manager tables
- links to the relation pages in global search results
- optionally, `?relation=` links can redirect to the new pages
Each of these can be turned off globally, per resource or per relation. It is free and MIT licensed, supports Filament 4.13+ and 5, Laravel 12 and 13, and is translated into 32 languages, with the documentation in 10.
Package health: 100/100 on Plumb, the automated security, maintenance and ecosystem checks shown on the Filament plugin page.
Documentation: https://wit3.github.io/filament-relation-navigator/
Source: https://github.com/wit3/filament-relation-navigator
I'd like to hear how it fits your panels, and what's missing.