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)09.3k↓68.3%MITPHPPHP ^8.1CI passing

Since Feb 16Pushed 2mo 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 1mo 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 91% of packages

Maintenance67

Regular maintenance activity

Popularity23

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity56

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

496d 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

[codefog/contao-haste

haste extension for Contao Open Source CMS

42650.8k139](/packages/codefog-contao-haste)[pugx/autocompleter-bundle

Add an autocomplete type to forms

93861.6k3](/packages/pugx-autocompleter-bundle)[netgen/layouts-core

Netgen Layouts enables you to build and manage complex web pages in a simpler way and with less coding. This is the core of Netgen Layouts, its heart and soul.

3689.4k10](/packages/netgen-layouts-core)[netgen/content-browser

Netgen Content Browser is a Symfony bundle that provides an interface which selects items from any kind of backend and returns the IDs of selected items back to the calling code.

14112.1k8](/packages/netgen-content-browser)[spomky-labs/pwa-bundle

Progressive Web App Manifest Generator Bundle for Symfony.

6144.4k1](/packages/spomky-labs-pwa-bundle)[numero2/contao-storelocator

Contao Plugin for managing stores (or in common address data) and providing a frontend-search based on geo data

121.5k](/packages/numero2-contao-storelocator)

PHPackages © 2026

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