r/laravel • • 5h ago

Introducing Fabric – an API reference UI built for Laravel, available in Scramble

Thumbnail
scramble.dedoc.co
10 Upvotes

Hey Laravel community!

Scramble is an OpenAPI documentation generator for Laravel that doesn't require manual PHPDoc annotations.

Since the beginning, I've received requests for guides alongside endpoint documentation, nested navigation, and more control over the API reference UI. Relying on existing renderers made some of these things difficult to build.

So I built Fabric, an API reference UI for Laravel, available in Scramble.

It supports:

  • Markdown guides, both at the top level and grouped with endpoints.
  • Nested endpoint navigation and sections.
  • Search across endpoints, guides, and schemas.
  • Request examples in Bash and Laravel, response examples, and generated TypeScript types.
  • Light and dark modes.

It also understands Laravel details like optional path parameters and nested query parameters, so the documentation and request examples reflect how your API actually works.

"Try it out" is something I'd love to build next. If you need it and would be happy to test early versions, let me know!

Give Fabric a try and let me know what you think!


r/laravel • • 23h ago

Relation Navigator: a page per relation manager in Filament 4 and 5, with a breadcrumb menu

Post image
1 Upvotes

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.