fig/link-util
A small PSR-13 implementation for PHP: interfaces and classes for representing links (URI, rel, attributes) and link providers, plus serializers for HTTP Link headers and HAL-style JSON. Integrates with PSR-7 without extra dependencies.
Link headers for next, prev, first, and last links instead of custom pagination envelopes. This affects API consistency, client SDK complexity, and documentation.Link headers.Link headers. The PM decision is whether the team should depend on it, vendor it, or implement a narrow internal helper.rel=preload, canonical, or related links as part of HTTP responses, which can affect performance and CDN/client integration.Link headers.For executives: This is a small, MIT-licensed PHP utility for standard HTTP Link headers. It can help standardize pagination and API discoverability without building custom parsing code, but it is old and not a strategic platform bet. Approve only a time-boxed spike or narrow internal use, with an owner and fallback plan.
For engineering: The package offers reusable objects/utilities for Link header modeling and serialization, aligned with standards-based API linking. It does not provide middleware, HTTP clients, or framework integration. Because the last release was in 2016 and the ecosystem signal is weak, evaluate it as a reference implementation or vendor candidate; if adopted, pin the version, add tests around parsing/serialization, and document an exit path.
Recommendation: Use it only where the product needs lightweight Link header support and the team accepts lifecycle risk. Otherwise, implement a narrow internal helper or rely on existing framework capabilities.
How can I help you explore Laravel packages today?