{"id":31952812,"url":"https://github.com/batchlabs/headers-bundle","last_synced_at":"2026-01-20T18:08:41.035Z","repository":{"id":43959692,"uuid":"297393707","full_name":"BatchLabs/headers-bundle","owner":"BatchLabs","description":"A Symfony bundle to easily add headers to your responses.","archived":false,"fork":false,"pushed_at":"2024-04-04T00:09:37.000Z","size":18,"stargazers_count":0,"open_issues_count":2,"forks_count":4,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-10-09T13:45:01.304Z","etag":null,"topics":["headers","http","symfony","symfony-bundle"],"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/BatchLabs.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2020-09-21T16:12:47.000Z","updated_at":"2022-08-29T14:52:55.000Z","dependencies_parsed_at":"2022-09-15T20:02:32.457Z","dependency_job_id":null,"html_url":"https://github.com/BatchLabs/headers-bundle","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/BatchLabs/headers-bundle","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BatchLabs%2Fheaders-bundle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BatchLabs%2Fheaders-bundle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BatchLabs%2Fheaders-bundle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BatchLabs%2Fheaders-bundle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BatchLabs","download_url":"https://codeload.github.com/BatchLabs/headers-bundle/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BatchLabs%2Fheaders-bundle/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279018708,"owners_count":26086606,"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","status":"online","status_checked_at":"2025-10-14T02:00:06.444Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["headers","http","symfony","symfony-bundle"],"created_at":"2025-10-14T13:24:43.551Z","updated_at":"2025-10-14T13:25:02.141Z","avatar_url":"https://github.com/BatchLabs.png","language":"PHP","readme":"# Batch Headers Bundle\n\nA Symfony bundle to ease the configuration of global response headers. Instead of creating a response listener to add custom headers, use a configuration file:\n\n```yaml\nbatch_headers:\n  headers:\n    # Apply a CSP on all the responses\n    - Content-Security-Policy: default-src 'self'\n\n    # Allow your API to be requested from all origins\n    - name: Access-Control-Allow-Origin\n      value: \"*\"\n      condition: request.getPathInfo() matches '^/api'\n\n    # Always cache images\n    - name: Cache-Control\n      value: max-age=31536000, public\n      condition: response.headers.get('Content-Type') matches '^image/'\n```\n\n## Installation\n\n```console\n$ composer require batch.com/headers-bundle\n```\n\nRead the documentation for complete instructions.\n\n## Documentation\n\nRead the documentation in [src/Resources/doc/](src/Resources/doc/index.md)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbatchlabs%2Fheaders-bundle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbatchlabs%2Fheaders-bundle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbatchlabs%2Fheaders-bundle/lists"}