NOTE: This component does not generate any HTML links. It just stores the links. You will need to create your own serializers that will parse these objects and generate the necessary output. The Phalcon\Html\Link\Serializer\Header serializer is available for you to use.
The Phalcon\Html\Link\* components implement methods that are inline with PSR-13, but do not implement the particular interface. A package that implements PSR-13 is available, that uses the Phalcon\Html\Link\* components. The package is located here. To use it, you will need to have Phalcon installed and then using composer you can install the proxy package.
composer require phalcon/proxy-psr13
Using the proxy classes allows you to follow PSR-13 and use it with any other package that needs that interface.
You can use a serializer to parse the Phalcon\Html\Link\* objects and create the necessary headers. Phalcon comes with the Phalcon\Html\Link\Serializer\Header serializer, to help with the task of serializing links for the headers: