PHPackages                             duc01nguyen/security-headers-bundle-symfony - 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. [Security](/categories/security)
4. /
5. duc01nguyen/security-headers-bundle-symfony

ActiveSymfony-bundle[Security](/categories/security)

duc01nguyen/security-headers-bundle-symfony
===========================================

Set security headers for Symfony apps through middleware

01PHP

Since Oct 20Pushed 3y ago1 watchersCompare

[ Source](https://github.com/ndhhaiduong/demo-symfony-package)[ Packagist](https://packagist.org/packages/duc01nguyen/security-headers-bundle-symfony)[ RSS](/packages/duc01nguyen-security-headers-bundle-symfony/feed)WikiDiscussions main Synced 2w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Creating a Symfony 5 bundle from scratch
========================================

[](#creating-a-symfony-5-bundle-from-scratch)

This bundle adds some configurable HTTP security headers to responses in a Symfony app.

**This is not a distributed bundle, please do not attempt to install it directly.**

It is the accompanying code to the tutorial on my blog:

Copyright (C)2021 David Gebler. MIT licence.

###  Health Score

14

—

LowBetter than 1% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity1

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity25

Early-stage or recently created project

 Bus Factor1

Top contributor holds 50% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/e29bc85c00542a7e38d3161ce0a6afb8c34c4b0e05dfb5b1af2d26911fc3bf08?d=identicon)[ndhhaiduong](/maintainers/ndhhaiduong)

---

Top Contributors

[![duc01nguyen](https://avatars.githubusercontent.com/u/114734553?v=4)](https://github.com/duc01nguyen "duc01nguyen (1 commits)")[![ndhhaiduong](https://avatars.githubusercontent.com/u/37271082?v=4)](https://github.com/ndhhaiduong "ndhhaiduong (1 commits)")

### Embed Badge

![Health badge](/badges/duc01nguyen-security-headers-bundle-symfony/health.svg)

```
[![Health](https://phpackages.com/badges/duc01nguyen-security-headers-bundle-symfony/health.svg)](https://phpackages.com/packages/duc01nguyen-security-headers-bundle-symfony)
```

###  Alternatives

[phpids/phpids

PHPIDS (PHP-Intrusion Detection System) is a simple to use, well structured, fast and state-of-the-art security layer for your PHP based web application

791150.0k2](/packages/phpids-phpids)[paragonie/ecc

PHP Elliptic Curve Cryptography library

25866.3k44](/packages/paragonie-ecc)[sansec/magento2-module-shield

15218.6k](/packages/sansec-magento2-module-shield)[nicobleiler/php-passphrase

Passphrase generator with Laravel integration, inspired by Bitwarden. Uses the EFF long word list by default with support for custom wordlists.

4912.6k](/packages/nicobleiler-php-passphrase)[dwgebler/encryption

Encryption wrapper for PHP using libsodium — simple API for symmetric and asymmetric encryption, password hashing, digital signing, and message authentication.

317.5k](/packages/dwgebler-encryption)

PHPackages © 2026

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