The ratings service contained a PHP 4 style code. This change introduces a framework for processing the http-requests so we dont have to do it on our own. It'll also showcase how Instana is usable with modern PHP.
24 lines
617 B
JSON
24 lines
617 B
JSON
{
|
|
"require": {
|
|
"php": "^7.3",
|
|
"ext-curl": "*",
|
|
"ext-json": "*",
|
|
"ext-pdo": "*",
|
|
"psr/log": "*",
|
|
"monolog/monolog": "^1.24.0",
|
|
"symfony/config": "^5.0",
|
|
"symfony/http-kernel": "^5.0",
|
|
"symfony/http-foundation": "^5.0",
|
|
"symfony/routing": "^5.0",
|
|
"symfony/dependency-injection": "^5.0",
|
|
"symfony/framework-bundle": "^5.0",
|
|
"doctrine/annotations": "^1.10",
|
|
"symfony/monolog-bundle": "^3.5"
|
|
},
|
|
"autoload": {
|
|
"psr-4": {
|
|
"Instana\\RobotShop\\Ratings\\": "src/"
|
|
}
|
|
}
|
|
}
|