{"id":18559696,"url":"https://github.com/cvette/flow-web-link","last_synced_at":"2025-05-15T16:15:03.371Z","repository":{"id":56960417,"uuid":"109181483","full_name":"cvette/flow-web-link","owner":"cvette","description":"WebLink Package for Neos Flow","archived":false,"fork":false,"pushed_at":"2017-11-05T17:00:37.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-17T12:25:21.461Z","etag":null,"topics":["psr-13"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cvette.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-11-01T20:38:48.000Z","updated_at":"2017-11-02T19:47:42.000Z","dependencies_parsed_at":"2022-08-21T05:10:27.119Z","dependency_job_id":null,"html_url":"https://github.com/cvette/flow-web-link","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cvette%2Fflow-web-link","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cvette%2Fflow-web-link/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cvette%2Fflow-web-link/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cvette%2Fflow-web-link/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cvette","download_url":"https://codeload.github.com/cvette/flow-web-link/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254374542,"owners_count":22060613,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["psr-13"],"created_at":"2024-11-06T22:00:19.391Z","updated_at":"2025-05-15T16:15:03.352Z","avatar_url":"https://github.com/cvette.png","language":"PHP","readme":"[![Latest Stable Version](https://poser.pugx.org/cvette/flow-web-link/v/stable)](https://packagist.org/packages/cvette/flow-web-link) [![Total Downloads](https://poser.pugx.org/cvette/flow-web-link/downloads)](https://packagist.org/packages/cvette/flow-web-link) [![License](https://poser.pugx.org/cvette/flow-web-link/license)](https://packagist.org/packages/cvette/flow-web-link)\n\n# WebLink Package for Neo Flow\n\nThis Neos Flow package provides methods to manage links between resources and advise clients to preload and prefetch resources through HTTP and HTTP/2 pushes.\n\n## Usage\n\nYou can add a link header in three different ways:\n\n### Using the Fusion Prototype\nThis will output a Html link tag with the given \"rel\" attribute and set the Http link header for the response.\n\n     link = Vette.WebLink:Link {\n          href = 'http://foo.bar/x.y'\n          rel = 'preload'\n     }\n\n### Using the EEL Helper\nIf you use this EEL helper, make sure the containing Fusion prototype is uncached.\n\n     $href = ${Vette.WebLink.link('http://foo.bar/x.y', 'preload')}\n     \n### Adding a Link Header via the WebLink Service\n     \n     /**\n      * @Flow\\Inject\n      * @var WebLinkService\n      **/\n     protected $webLinkService;\n     \n     ...\n     \n     $this-\u003ewebLinkService-\u003elink('http:foo.bar/x.y', 'preload');\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcvette%2Fflow-web-link","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcvette%2Fflow-web-link","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcvette%2Fflow-web-link/lists"}