Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

Commit 5e7469e

Browse files
committed
Set required components for version 3
Per https://github.com/zendframework/maintainers/wiki/zend-mvc-v3-refactor:-reduce-components#required-components : - Sets the required components to include: - zend-eventmanager - zend-servicemanager - zend-view - zend-http - zend-modulemanager - zend-stdlib - Removes: - zend-json; this is a purely optional component at this point, even in terms of testing. - Marks as development requirement: - zend-psr7bridge (only needed if you're using the `MiddlewareListener`) Finally, this patch inlines the logic of `Zend\Filter\Word\CamelCaseToDash` in the `InjectTemplateListener` so as to remove any requirement on zend-filter (though it's still a dev requirement until we remove the factory related to it.)
1 parent 5a640e5 commit 5e7469e

File tree

3 files changed

+603
-594
lines changed

3 files changed

+603
-594
lines changed

composer.json

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,24 +15,25 @@
1515
"require": {
1616
"php": "^5.5 || ^7.0",
1717
"zendframework/zend-eventmanager": "^2.6.2 || ^3.0",
18-
"zendframework/zend-servicemanager": "^2.7.5 || ^3.0.3",
1918
"zendframework/zend-http": "^2.5.4",
20-
"zendframework/zend-hydrator": "^1.1 || ^2.1",
21-
"zendframework/zend-form": "^2.7",
19+
"zendframework/zend-modulemanager": "^2.7.1",
2220
"zendframework/zend-router": "^3.0",
21+
"zendframework/zend-servicemanager": "^2.7.5 || ^3.0.3",
2322
"zendframework/zend-stdlib": "^2.7.5 || ^3.0",
24-
"zendframework/zend-psr7bridge": "^0.2",
23+
"zendframework/zend-view": "^2.6.3",
2524
"container-interop/container-interop": "^1.1"
2625
},
2726
"require-dev": {
2827
"zendframework/zend-di": "^2.6",
2928
"zendframework/zend-filter": "^2.6.1",
29+
"zendframework/zend-form": "^2.7",
30+
"zendframework/zend-hydrator": "^1.1 || ^2.1",
3031
"zendframework/zend-inputfilter": "^2.6",
32+
"zendframework/zend-json": "^2.6.1 || ^3.0",
3133
"zendframework/zend-log": "^2.7.1",
32-
"zendframework/zend-modulemanager": "^2.7.1",
34+
"zendframework/zend-psr7bridge": "^0.2",
3335
"zendframework/zend-serializer": "^2.6.1",
3436
"zendframework/zend-validator": "^2.6",
35-
"zendframework/zend-view": "^2.6.3",
3637
"fabpot/php-cs-fixer": "1.7.*",
3738
"phpunit/phpunit": "^4.5"
3839
},
@@ -42,7 +43,7 @@
4243
"zendframework/zend-filter": "Zend\\Filter component",
4344
"zendframework/zend-http": "Zend\\Http component",
4445
"zendframework/zend-inputfilter": "Zend\\Inputfilter component",
45-
"zendframework/zend-json": "To auto-deserialize JSON body content in AbstractRestfulController extensions, when json_decode is unavailable",
46+
"zendframework/zend-json": "(^2.6.1 || ^3.0) To auto-deserialize JSON body content in AbstractRestfulController extensions, when json_decode is unavailable",
4647
"zendframework/zend-log": "Zend\\Log component",
4748
"zendframework/zend-modulemanager": "Zend\\ModuleManager component",
4849
"zendframework/zend-mvc-console": "zend-mvc-console provides the ability to expose zend-mvc as a console application",
@@ -51,6 +52,7 @@
5152
"zendframework/zend-mvc-plugin-flashmessenger": "To provide flash messaging capabilities between requests",
5253
"zendframework/zend-mvc-plugin-identity": "To access the authenticated identity (per zend-authentication) in controllers",
5354
"zendframework/zend-mvc-plugin-prg": "To provide Post/Redirect/Get functionality within controllers",
55+
"zendframework/zend-psr7bridge": "(^0.2) To consume PSR-7 middleware within the MVC workflow",
5456
"zendframework/zend-serializer": "Zend\\Serializer component",
5557
"zendframework/zend-validator": "Zend\\Validator component",
5658
"zendframework/zend-view": "Zend\\View component"

0 commit comments

Comments
 (0)