Skip to content

Commit 5f7f06b

Browse files
committed
remove middlewares/utils dependency
1 parent ce68cb0 commit 5f7f06b

File tree

4 files changed

+815
-226
lines changed

4 files changed

+815
-226
lines changed

composer.json

Lines changed: 19 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
{
22
"name": "delolmo/symfony-router",
3-
"type": "library",
43
"description": "PSR-15 middleware to use the symfony/routing component and store the route attributes in the request.",
4+
"license": "MIT",
5+
"type": "library",
56
"keywords": [
67
"psr-7",
78
"psr-15",
@@ -13,21 +14,24 @@
1314
"symfony-routing"
1415
],
1516
"homepage": "https://github.com/delolmo/symfony-router",
16-
"license": "MIT",
17+
"support": {
18+
"issues": "https://github.com/delolmo/symfony-router/issues"
19+
},
1720
"require": {
1821
"php": "^8.1",
19-
"middlewares/utils": "^3.3",
22+
"php-http/discovery": "^1.19",
2023
"psr/http-message": "^1.0 || ^2.0",
2124
"psr/http-server-middleware": "^1.0",
2225
"symfony/config": "^6.2",
23-
"symfony/psr-http-message-bridge": "^2.0",
26+
"symfony/psr-http-message-bridge": "^2.3",
2427
"symfony/routing": "^6.2"
2528
},
2629
"require-dev": {
2730
"doctrine/coding-standard": "^10.0",
31+
"equip/dispatch": "^2.0",
2832
"ergebnis/composer-normalize": "^2.29",
2933
"infection/infection": "^0.26",
30-
"laminas/laminas-diactoros": "^2.24",
34+
"laminas/laminas-diactoros": "^3.3",
3135
"php-parallel-lint/php-parallel-lint": "^1.3",
3236
"phpstan/phpstan": "^1.10",
3337
"phpstan/phpstan-deprecation-rules": "^1.1",
@@ -38,7 +42,8 @@
3842
"rector/rector": "^0.15",
3943
"roave/security-advisories": "dev-latest",
4044
"squizlabs/php_codesniffer": "^3.7",
41-
"vimeo/psalm": "^5.15"
45+
"vimeo/psalm": "^5.15",
46+
"cakephp/http": "^5.0"
4247
},
4348
"autoload": {
4449
"psr-4": {
@@ -50,6 +55,14 @@
5055
"DelOlmo\\Middleware\\": "tests/"
5156
}
5257
},
58+
"config": {
59+
"allow-plugins": {
60+
"dealerdirect/phpcodesniffer-composer-installer": true,
61+
"ergebnis/composer-normalize": true,
62+
"infection/extension-installer": true,
63+
"php-http/discovery": true
64+
}
65+
},
5366
"scripts": {
5467
"coverage": "php -d xdebug.mode=coverage vendor/bin/phpunit --coverage-text",
5568
"doctrine": "php bin/console orm:generate-proxies && php bin/console orm:validate-schema --skip-sync",
@@ -72,15 +85,5 @@
7285
"@psalm",
7386
"@phpunit"
7487
]
75-
},
76-
"support": {
77-
"issues": "https://github.com/delolmo/symfony-router/issues"
78-
},
79-
"config": {
80-
"allow-plugins": {
81-
"infection/extension-installer": true,
82-
"dealerdirect/phpcodesniffer-composer-installer": true,
83-
"ergebnis/composer-normalize": true
84-
}
8588
}
8689
}

0 commit comments

Comments
 (0)