Download the PHP package macpaw/symfony-deprecated-routes without Composer
On this page you can find all versions of the php package macpaw/symfony-deprecated-routes. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download macpaw/symfony-deprecated-routes
More information about macpaw/symfony-deprecated-routes
Files in macpaw/symfony-deprecated-routes
Download macpaw/symfony-deprecated-routes
More information about macpaw/symfony-deprecated-routes
Files in macpaw/symfony-deprecated-routes
Vendor macpaw
Package symfony-deprecated-routes
Short Description Symfony Deprecated Routes Annotations
License MIT
Package symfony-deprecated-routes
Short Description Symfony Deprecated Routes Annotations
License MIT
Please rate this library. Is it a good library?
Informations about the package symfony-deprecated-routes
Symfony Deprecated Routes Bundle
Symfony Deprecated Routes Bundle offers to mark some api routes as deprecated.
Installation
Use Composer to install the bundle:
Setup bundle
Enable the bundle by adding it to the list of registered bundles in config/bundles.php
Extend bundle options
This bundle provide configuration for marking routes
Option | Type | Description | Default value |
---|---|---|---|
headers | array | Deprecation headers names | |
isDisabled | bool | Disable add marks for routes | false |
headers | array | Deprecation headers names | |
isSinceRequired | bool | If true enable validation for set route attribute | false |
Headers names options
Name | Description |
---|---|
deprecatedMessageName | Deprecated message info header name |
deprecatedFromName | Start deprecation date |
deprecatedSinceName | The date of the removal route |
Full config example with default values
config/packages/deprecated-routes.yaml
All versions of symfony-deprecated-routes with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.1
symfony/config Version ^6.4 || ^7.0
symfony/dependency-injection Version ^6.4 || ^7.0
symfony/http-kernel Version ^6.4 || ^7.0
symfony/routing Version ^6.4 || ^7.0
symfony/event-dispatcher Version ^6.4 || ^7.0
symfony/config Version ^6.4 || ^7.0
symfony/dependency-injection Version ^6.4 || ^7.0
symfony/http-kernel Version ^6.4 || ^7.0
symfony/routing Version ^6.4 || ^7.0
symfony/event-dispatcher Version ^6.4 || ^7.0
The package macpaw/symfony-deprecated-routes contains the following files
Loading the files please wait ....