joy/voyager-api
Joy/Voyager API is a Laravel package that adds RESTful endpoints to Voyager’s admin panel, exposing BREAD/CRUD resources as JSON APIs for SPAs and external clients. Configure models and query Voyager-managed data with minimal setup.
Consider when:
Look elsewhere when:
To executives: A no-cost, MIT-licensed accelerator that exposes our existing Voyager admin as a documented REST API in days rather than weeks, with generated Swagger docs included. It removes a recurring chunk of hand-built API work for internal and back-office surfaces. The caveat is maturity: this is an early-stage package with minimal community adoption and effectively single-maintainer risk. Recommendation is a scoped pilot on a non-critical internal API, with a named internal owner and a contingency to fork — not a standard across customer-facing systems.
To engineering: A thin Laravel module that maps Voyager BREAD definitions to REST resources and emits OpenAPI/Swagger, so API surface and docs come from one source of truth. Small enough to read end-to-end and fork comfortably under MIT. Adopt by pinning the 2024-02-24 release, vendoring the source, and layering auth, rate limiting, and versioning in Laravel middleware. Treat it as scaffolding with an owner, not as infrastructure.
To product stakeholders: This buys schedule on API-dependent roadmap items that sit on top of admin-managed data — mobile clients, SPA front ends, partner read access. The decision gate is explicit: adopt only if we accept the maintenance risk and assign an owner; otherwise the higher-leverage move is scheduling migration off Voyager and building the API on a supported foundation.
How can I help you explore Laravel packages today?