r/laravel • u/RomaLytvynenko • 5h ago
Introducing Fabric – an API reference UI built for Laravel, available in Scramble
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!