PHPackages                             softspring/response-headers - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [HTTP &amp; Networking](/categories/http)
4. /
5. softspring/response-headers

ActiveLibrary[HTTP &amp; Networking](/categories/http)

softspring/response-headers
===========================

This component provides response headers configuration for Symfony projects

v5.5.8(1y ago)09.7k↓36.7%AGPL-3.0-or-laterPHPPHP &gt;=8.1CI passing

Since Jul 20Pushed 1w ago1 watchersCompare

[ Source](https://github.com/softspring/response-headers)[ Packagist](https://packagist.org/packages/softspring/response-headers)[ RSS](/packages/softspring-response-headers/feed)WikiDiscussions 6.0 Synced 2d ago

READMEChangelog (10)Dependencies (32)Versions (142)Used By (0)

Response Headers
================

[](#response-headers)

[![Latest Stable](https://camo.githubusercontent.com/67f371636a06922961858147f712ddcd5067929185feeb21bccafb55d39ff700/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f736f6674737072696e672f726573706f6e73652d686561646572733f6c6162656c3d737461626c65267374796c653d666c61742d737175617265)](https://github.com/softspring/response-headers/releases)[![Latest Unstable](https://camo.githubusercontent.com/84abc76be7f5d6b07499a0ff34c0e1cd1f03ef826c9c214ec276ad906580256c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f736f6674737072696e672f726573706f6e73652d686561646572733f6c6162656c3d756e737461626c65267374796c653d666c61742d73717561726526696e636c7564655f70726572656c6561736573)](https://github.com/softspring/response-headers/releases)[![License](https://camo.githubusercontent.com/21b46cd15058fe7887e1283183ad7824fa12dc2dc236e750d57f919f4a61d83a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f736f6674737072696e672f726573706f6e73652d686561646572733f7374796c653d666c61742d737175617265)](https://github.com/softspring/response-headers/blob/6.0/LICENSE)[![PHP Version](https://camo.githubusercontent.com/cc8c9e21ebda885d3db48ed142c74e57b7337a9bc800d68a8c66733823c4ff14/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646570656e64656e63792d762f736f6674737072696e672f726573706f6e73652d686561646572732f7068703f7374796c653d666c61742d737175617265)](https://github.com/softspring/response-headers/blob/6.0/composer.json)[![Downloads](https://camo.githubusercontent.com/6d9a738e0c300856fe705ad5e6f8546faaad02b39dc7475fef7464628d33d0a0/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f736f6674737072696e672f726573706f6e73652d686561646572733f7374796c653d666c61742d737175617265)](https://packagist.org/packages/softspring/response-headers)[![CI](https://camo.githubusercontent.com/0fabec04d3c00fed0b731caff9089cbf7580a2ff6ee4b5ee4d18ca8eed816acb/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f736f6674737072696e672f726573706f6e73652d686561646572732f63692e796d6c3f6272616e63683d362e30267374796c653d666c61742d737175617265266c6162656c3d4349)](https://github.com/softspring/response-headers/actions/workflows/ci.yml)[![Coverage](https://camo.githubusercontent.com/3cde9d0de633d2c5788fb37209914dd84c31cd95ac029060ff9ac8f125ee6175/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f736f6674737072696e672f726573706f6e73652d686561646572733f6272616e63683d362e30267374796c653d666c61742d737175617265)](https://app.codecov.io/gh/softspring/response-headers/tree/6.0)

This Symfony component centralizes HTTP response header rules in one listener.

It is useful when your application needs consistent security headers, API headers, or conditional headers without repeating the same logic in controllers.

Armonic
-------

[](#armonic)

This package is part of [Armonic](https://softspring.es/en/armonic).

Documentation
-------------

[](#documentation)

[Armonic Documentation](https://armonic.softspring.es/latest/components/response-headers)

Contributing
------------

[](#contributing)

See [CONTRIBUTING.md](CONTRIBUTING.md).

[Report issues](https://github.com/softspring/response-headers/issues) and [send Pull Requests](https://github.com/softspring/response-headers/pulls)

License
-------

[](#license)

This package is free and released under the [AGPL-3.0 license](LICENSE).

###  Health Score

50

—

FairBetter than 95% of packages

Maintenance77

Regular maintenance activity

Popularity23

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity74

Established project with proven stability

 Bus Factor1

Top contributor holds 82.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~10 days

Recently: every ~91 days

Total

140

Last Release

10d ago

Major Versions

v5.5.1 → 6.0.x-dev2026-06-24

PHP version history (4 changes)v5.0.0-alpha3PHP &gt;=7.4

v5.0.0PHP &gt;=8.0

v5.2.0-rc4PHP &gt;=8.1

6.0.x-devPHP &gt;=8.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/64ac79c0e14e0dd67af72d74bd3531606fb0484230c519a35682d54490f9be5b?d=identicon)[softspring](/maintainers/softspring)

---

Top Contributors

[![javihgil](https://avatars.githubusercontent.com/u/2581053?v=4)](https://github.com/javihgil "javihgil (67 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (8 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (6 commits)")

---

Tags

componentsymfony

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Rector

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/softspring-response-headers/health.svg)

```
[![Health](https://phpackages.com/badges/softspring-response-headers/health.svg)](https://phpackages.com/packages/softspring-response-headers)
```

###  Alternatives

[symfony/http-kernel

Provides a structured process for converting a Request into a Response

8.1k869.4M8.8k](/packages/symfony-http-kernel)[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.9M388](/packages/easycorp-easyadmin-bundle)[symfony/framework-bundle

Provides a tight integration between Symfony components and the Symfony full-stack framework

3.6k251.7M11.6k](/packages/symfony-framework-bundle)[symfony/security-bundle

Provides a tight integration of the Security component into the Symfony full-stack framework

2.5k185.6M2.4k](/packages/symfony-security-bundle)[drupal/core

Drupal is an open source content management platform powering millions of websites and applications.

21866.0M1.7k](/packages/drupal-core)[flow-php/flow

PHP ETL - Extract Transform Load - Data processing framework

85036.3k](/packages/flow-php-flow)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
