PHPackages                             pyrech/do-not-expose-your-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. pyrech/do-not-expose-your-symfony

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

pyrech/do-not-expose-your-symfony
=================================

Change some default Symfony configuration to not leak you are using it

04PHP

Since Dec 24Pushed 8y ago1 watchersCompare

[ Source](https://github.com/pyrech/do-not-expose-your-symfony)[ Packagist](https://packagist.org/packages/pyrech/do-not-expose-your-symfony)[ RSS](/packages/pyrech-do-not-expose-your-symfony/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Do Not Expose Your Symfony
==========================

[](#do-not-expose-your-symfony)

[![Latest Stable Version](https://camo.githubusercontent.com/059dae9cbbb6a88a53431bc7c42f999973f17ab90b7ac9003ca5893c0b04fefb/68747470733a2f2f706f7365722e707567782e6f72672f7079726563682f646f2d6e6f742d6578706f73652d796f75722d73796d666f6e792f762f737461626c65)](https://packagist.org/packages/pyrech/do-not-expose-your-symfony)[![Total Downloads](https://camo.githubusercontent.com/93d29155b976afcec22aeff75081c631a2a0f1e62622b5285dfa894a3933c991/68747470733a2f2f706f7365722e707567782e6f72672f7079726563682f646f2d6e6f742d6578706f73652d796f75722d73796d666f6e792f646f776e6c6f616473)](https://packagist.org/packages/pyrech/do-not-expose-your-symfony)[![Build Status](https://camo.githubusercontent.com/ffe96ae9385b6a92b2adff51899b905d2ffdc7b811ddec7c5d30fb78afd06dd5/68747470733a2f2f7472617669732d63692e6f72672f7079726563682f646f2d6e6f742d6578706f73652d796f75722d73796d666f6e792e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/pyrech/do-not-expose-your-symfony)

This project main's goal is to help you not exposing your project uses Symfony by changing some default configuration.

Why?
----

[](#why)

Symfony already do not leak a lot of information about itself. However we can still find clues to detect whether your project uses Symfony. Potential hacker could use these information to find security breaches that could be exploited.

See this [french article](https://afsy.fr/avent/2017/15-comment-ne-pas-trop-exposer-symfony)for a not exhaustive list of things that can be detected and that this bundle aims to change.

Installation
------------

[](#installation)

- Use [Composer](http://getcomposer.org/) to install `DoNotExposeYourSymfony` in your project:

```
composer require "pyrech/do-not-expose-your-symfony"
```

- If you do not use Symfony Flex, you will also need to manually register the bundle inside the kernel:

```
    /**
     * {@inheritdoc}
     */
    public function registerBundles()
    {
        $bundles = [
            // ...
            new Pyrech\DoNotExposeYourSymfony\PyrechDoNotExposeYourSymfonyBundle(),
        ];

        // ...

        return $bundles;
    }
```

Further documentation
---------------------

[](#further-documentation)

You can see the current and past versions using one of the following:

- the `git tag` command
- the [releases page on Github](https://github.com/pyrech/do-not-expose-your-symfony/releases)
- the file listing the [changes between versions](CHANGELOG.md)

And some meta documentation:

- [versioning and branching models](VERSIONING.md)
- [contribution instructions](CONTRIBUTING.md)

Credits
-------

[](#credits)

- [All contributors](https://github.com/pyrech/do-not-expose-your-symfony/graphs/contributors);
- Inspired from this [(french) article](https://afsy.fr/avent/2017/15-comment-ne-pas-trop-exposer-symfony)

License
-------

[](#license)

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.

###  Health Score

19

—

LowBetter than 9% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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/c177e9f7e88fba40b24b047954fe1ff793d48c2bd8bb12bb2e412aa9ea633ede?d=identicon)[pyrech](/maintainers/pyrech)

---

Top Contributors

[![pyrech](https://avatars.githubusercontent.com/u/2021641?v=4)](https://github.com/pyrech "pyrech (1 commits)")

### Embed Badge

![Health badge](/badges/pyrech-do-not-expose-your-symfony/health.svg)

```
[![Health](https://phpackages.com/badges/pyrech-do-not-expose-your-symfony/health.svg)](https://phpackages.com/packages/pyrech-do-not-expose-your-symfony)
```

###  Alternatives

[mews/purifier

Laravel 5/6/7/8/9/10 HtmlPurifier Package

2.0k18.0M138](/packages/mews-purifier)[paragonie/ecc

PHP Elliptic Curve Cryptography library

25772.0k36](/packages/paragonie-ecc)

PHPackages © 2026

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