Install & Compatibility
Where this runs
No compatibility data collected yet for this library.
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
LinkInterface
✓ use Psr\Link\LinkInterface;
Implement the PSR-13 LinkInterface for an HTTP link.
<?php\nuse Psr\\Link\\LinkInterface;\n\n$link = new class implements LinkInterface {\n public function getHref() { return 'https://example.com'; }\n public function getRel() { return ['next']; }\n public function getAttributes() { return []; }\n};\necho $link->getHref();
Debug
Known issues
No known issues recorded.
Audit
Dependencies
No dependency data recorded yet.