treblle/treblle-api-tools-laravel
Treblle API Tools for Laravel adds API documentation and OpenAPI spec generation to Laravel apps, offering artisan commands, config, and helpers to describe endpoints and keep specs in sync with Treblle's API tooling.
ApiResponse trait and error formatter in an afternoon, then let six slightly different copies drift across repos. This package is a cheap way to not own that drift. The decision is less "can we build this" (yes) and more "do we want to maintain it."Consider it when:
Look elsewhere when:
spatie/laravel-fractal, dedoc/scramble for OpenAPI generation) or vendor-neutral internal tooling.To executives: This is a small, low-cost, low-risk adoption that enforces API consistency across teams and shortens partner integration cycles — the kind of unglamorous work that usually gets deferred until inconsistent APIs start costing sales cycles and support tickets. It also gives us a cheap, reversible look at the Treblle ecosystem before any larger observability commitment.
To engineering: It's a focused helper layer for response envelopes, error formatting, pagination, and versioning — the code everyone writes and nobody wants to own. It's thin enough to fork or replace in a day if we outgrow it, and it doesn't impose architectural constraints. The honest caveat: community adoption is essentially zero, so treat it as a convention carrier, not a foundation. If we adopt it, we should pin the version, wrap it behind our own abstraction where practical, and be prepared to own it if upstream goes quiet.
How can I help you explore Laravel packages today?