willdurand/hateoas
Hateoas is a PHP library for building HATEOAS-friendly REST representations. Configure links and embedded resources via annotations/attributes, XML or YAML, with expression language support, URL generators, and serializers (HAL JSON/XML) for rich hypermedia APIs.
/users?page=2 → includes next/prev links).For Executives: "This package lets us ship a self-driving API—clients get built-in navigation (e.g., ‘next page’ links) without manual URL management. It’s like adding GPS to our API roads, reducing client-side errors and support costs. Low-risk (PHP/Laravel-native), high-reward for developer velocity and API adoption."
For Engineering: *"HATEOAS cuts API docs maintenance by 30%+—links are auto-generated in responses. For example:
return new UserResource($user); // Auto-includes `/users/{id}/orders` link
/products to measure client adoption vs. docs usage?"*How can I help you explore Laravel packages today?