gointegro/hateoas
Laravel package for building HATEOAS-compliant REST APIs. It adds hypermedia links and embedded relationships to Eloquent resources, supports HAL and JSON:API formats, and helps you ship self-descriptive, discoverable APIs with minimal boilerplate.
Consider it when:
Look elsewhere when:
laravel-json-api, spatie/laravel-fractal for transformation, league/fractal) have active maintenance and community; check those first.To executives: This is not a "buy" — it's a research artifact. A MIT-licensed Laravel package that adds discoverable links to API responses, unmaintained since 2015. Its value to us is as a cheap way to answer a strategy question: should our API be self-describing for partners, or should we keep investing in documentation and SDKs? A short spike using this as a starting point gives us a real estimate instead of an opinion. Recommendation: timeboxed spike, not a production dependency.
To engineering: Treat it as a design reference, not a dependency. It demonstrates the Eloquent-trait-plus-serializer pattern for HAL-style links, and its link-building and pagination approaches are worth reading before we design our own. Do not vendor it into a modern Laravel codebase — the framework drift since 2015 is too large, and there is no upstream to patch security issues. If we proceed, budget for an in-house layer of roughly the same shape, with tests, and pick a maintained serializer underneath.
The one-line ask: Fund a one-to-two week spike to decide our hypermedia posture, using this package only as a reference implementation — not a line item in production.
How can I help you explore Laravel packages today?