PHPackages                             macpaw/symfony-deprecated-routes - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. macpaw/symfony-deprecated-routes

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

macpaw/symfony-deprecated-routes
================================

Symfony Deprecated Routes Annotations

v1.1.0(1y ago)010.4k—7.5%1[1 PRs](https://github.com/MacPaw/symfony-deprecated-routes/pulls)MITPHPPHP ^8.1CI passing

Since Feb 16Pushed 3mo ago13 watchersCompare

[ Source](https://github.com/MacPaw/symfony-deprecated-routes)[ Packagist](https://packagist.org/packages/macpaw/symfony-deprecated-routes)[ RSS](/packages/macpaw-symfony-deprecated-routes/feed)WikiDiscussions develop Synced 2d ago

READMEChangelog (5)Dependencies (11)Versions (10)Used By (0)

Symfony Deprecated Routes Bundle
================================

[](#symfony-deprecated-routes-bundle)

Symfony Deprecated Routes Bundle offers to mark some api routes as deprecated.

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

[](#installation)

Use Composer to install the bundle:

```
composer require macpaw/symfony-messenger-bundle
```

Setup bundle
------------

[](#setup-bundle)

Enable the bundle by adding it to the list of registered bundles in config/bundles.php

```
// config/bundles.php

return [
            Macpaw\SymfonyDeprecatedRoutes\DeprecatedRoutesBundle::class => ['all' => true],
        // ...
    ];
```

Extend bundle options
---------------------

[](#extend-bundle-options)

This bundle provide configuration for marking routes

OptionTypeDescriptionDefault valueheadersarrayDeprecation headers namesisDisabledboolDisable add marks for routesfalseheadersarrayDeprecation headers namesisSinceRequiredboolIf true enable validation for set [route attribute](src/Routing/Attribute/DeprecatedRoute.php)false### Headers names options

[](#headers-names-options)

NameDescriptiondeprecatedMessageNameDeprecated message info header namedeprecatedFromNameStart deprecation datedeprecatedSinceNameThe date of the removal routeFull config example with default values
---------------------------------------

[](#full-config-example-with-default-values)

`config/packages/deprecated-routes.yaml`

```
deprecated-routes:
    isSinceRequired: false
    isDisabled: false

    headers:
      deprecatedMessageName: 'X-DEPRECATED'
      deprecatedFromName: 'X-DEPRECATED-FROM'
      deprecatedSinceName: 'X-DEPRECATED-SINCE'
```

###  Health Score

43

—

FairBetter than 89% of packages

Maintenance62

Regular maintenance activity

Popularity25

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~81 days

Total

5

Last Release

543d ago

Major Versions

0.1 → v1.0.02024-02-19

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1935412?v=4)[MacPaw Inc.](/maintainers/macpaw)[@MacPaw](https://github.com/MacPaw)

---

Top Contributors

[![serhiidonii](https://avatars.githubusercontent.com/u/158484424?v=4)](https://github.com/serhiidonii "serhiidonii (12 commits)")[![Yozhef](https://avatars.githubusercontent.com/u/8971757?v=4)](https://github.com/Yozhef "Yozhef (7 commits)")[![cursoragent](https://avatars.githubusercontent.com/u/199161495?v=4)](https://github.com/cursoragent "cursoragent (6 commits)")[![zakhar-huzenko](https://avatars.githubusercontent.com/u/26282904?v=4)](https://github.com/zakhar-huzenko "zakhar-huzenko (3 commits)")[![ci-macpaw](https://avatars.githubusercontent.com/u/31448939?v=4)](https://github.com/ci-macpaw "ci-macpaw (1 commits)")

---

Tags

backendmacpawsymfony

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/macpaw-symfony-deprecated-routes/health.svg)

```
[![Health](https://phpackages.com/badges/macpaw-symfony-deprecated-routes/health.svg)](https://phpackages.com/packages/macpaw-symfony-deprecated-routes)
```

###  Alternatives

[symfony/framework-bundle

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

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

Admin generator for Symfony applications

4.3k17.9M387](/packages/easycorp-easyadmin-bundle)

PHPackages © 2026

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