1
- # Upgrading to 3.0
1
+ # Upgrading to 3.0
2
2
3
3
With the release of Zend Framework 2, all components current at that time,
4
4
regardless of history, were tagged as v2 releases; in reality, it was the first
@@ -21,7 +21,7 @@ however, raised another problem: you now have to register components as modules
21
21
in your application.
22
22
23
23
To solve this new problem, we created a new component,
24
- [ zend-component-installer] ( http://zendframework.github.io /zend-component-installer/ ) .
24
+ [ zend-component-installer] ( http://docs. zendframework.com /zend-component-installer/ ) .
25
25
Install this in your application now:
26
26
27
27
``` bash
@@ -82,9 +82,9 @@ service alias.
82
82
83
83
## DI-ServiceManager integration
84
84
85
- The integration between [ zend-servicemanager] ( https://zendframework.github.io /zend-servicemanager ) and
85
+ The integration between [ zend-servicemanager] ( https://docs. zendframework.com /zend-servicemanager ) and
86
86
[ zend-di] ( https://github.com/zendframework/zend-di ) has been moved to a new
87
- standalone component, [ zend-servicemanager-di] ( https://zendframework.github.io /zend-servicemanager-di/ ) .
87
+ standalone component, [ zend-servicemanager-di] ( https://docs. zendframework.com /zend-servicemanager-di/ ) .
88
88
In most cases, installing the component will restore the original behavior:
89
89
90
90
``` bash
@@ -96,10 +96,10 @@ $ composer require zendframework/zend-servicemanager-di
96
96
> The above assumes you're using the new component installer detailed in the
97
97
> [ dependency reduction] ( #dependency-reduction ) section, above. If you are not,
98
98
> you will need to inject the zend-servicemanager-di module into your
99
- > application manually; follow the [ instructions in the zend-servicemanager-di documentation] ( https://zendframework.github.io /zend-servicemanager-di/ )
99
+ > application manually; follow the [ instructions in the zend-servicemanager-di documentation] ( https://docs. zendframework.com /zend-servicemanager-di/ )
100
100
> to do so.
101
101
102
- The new component also contains a [ migration document] ( https://zendframework.github.io /zend-servicemanager-di/migration/v2-to-v3/ )
102
+ The new component also contains a [ migration document] ( https://docs. zendframework.com /zend-servicemanager-di/migration/v2-to-v3/ )
103
103
detailing potential issues for users migrating to version 3.
104
104
105
105
## DispatchListener
@@ -111,14 +111,14 @@ with the v3 release.
111
111
## Routing
112
112
113
113
Routing was removed from zend-mvc, and moved to a new component,
114
- [ zend-router] ( https://zendframework.github.io /zend-router/ ) , which is now a
114
+ [ zend-router] ( https://docs. zendframework.com /zend-router/ ) , which is now a
115
115
dependency of zend-mvc.
116
116
117
117
The changes that will impact users are:
118
118
119
- - [ Query route removal] ( http://zendframework.github.io /zend-router/migration/v2-to-v3/#query-route-removal ) ;
119
+ - [ Query route removal] ( http://docs. zendframework.com /zend-router/migration/v2-to-v3/#query-route-removal ) ;
120
120
this route had been deprecated since 2.3.0, and removed for the 3.0 release.
121
- - [ Namespace changes] ( http://zendframework.github.io /zend-router/migration/v2-to-v3/#namespace-change ) ;
121
+ - [ Namespace changes] ( http://docs. zendframework.com /zend-router/migration/v2-to-v3/#namespace-change ) ;
122
122
with the separation to the zend-router component, all routes changed
123
123
namespaces from ` Zend\Mvc\Router ` to ` Zend\Router ` .
124
124
@@ -128,7 +128,7 @@ your code.
128
128
## Console tooling
129
129
130
130
Console tooling, including console routes, were split off to a new component,
131
- [ zend-mvc-console] ( https://zendframework.github.io /zend-mvc-console/ ) . If you
131
+ [ zend-mvc-console] ( https://docs. zendframework.com /zend-mvc-console/ ) . If you
132
132
were using the console tooling, install zend-mvc-console:
133
133
134
134
``` bash
@@ -140,7 +140,7 @@ ensure the component is registered with your application!)
140
140
141
141
zend-mvc-console exposes all of the same functionality as was in the v2 series
142
142
of zend-mvc, but most components are in different namespaces. Please read the
143
- [ zend-mvc-console migration guide] ( http://zendframework.github.io /zend-mvc-console/migration/v2-to-v3/ )
143
+ [ zend-mvc-console migration guide] ( http://docs. zendframework.com /zend-mvc-console/migration/v2-to-v3/ )
144
144
for full details of what changes you may need to make to your application to
145
145
ensure console tooling continues to work.
146
146
@@ -159,7 +159,7 @@ provided specifications to zend-modulemanager's `ServiceListener`
159
159
to allow modules to provide filter configuration.
160
160
161
161
This functionality is now removed from zend-mvc. It is now exposed directly by
162
- the [ zend-filter] ( https://zendframework.github.io /zend-filter/ ) component
162
+ the [ zend-filter] ( https://docs. zendframework.com /zend-filter/ ) component
163
163
itself. To add it, install zend-filter:
164
164
165
165
``` bash
@@ -201,7 +201,7 @@ provided specifications to zend-modulemanager's `ServiceListener`
201
201
to allow modules to provide hydrator configuration.
202
202
203
203
This functionality is now removed from zend-mvc. It is now exposed directly by
204
- the [ zend-hydrator] ( https://zendframework.github.io /zend-hydrator/ ) component
204
+ the [ zend-hydrator] ( https://docs. zendframework.com /zend-hydrator/ ) component
205
205
itself. To add it, install zend-hydrator:
206
206
207
207
``` bash
@@ -218,7 +218,7 @@ provided specifications to zend-modulemanager's `ServiceListener`
218
218
to allow modules to provide validator configuration.
219
219
220
220
This functionality is now removed from zend-mvc. It is now exposed directly by
221
- the [ zend-inputfilter] ( https://zendframework.github.io /zend-inputfilter/ ) component
221
+ the [ zend-inputfilter] ( https://docs. zendframework.com /zend-inputfilter/ ) component
222
222
itself. To add it, install zend-inputfilter:
223
223
224
224
``` bash
@@ -240,8 +240,8 @@ Internationalization tooling, including:
240
240
- the ` TranslatorAwareTreeRouteStack ` implementation
241
241
- factories for the translator and translator loader managers
242
242
243
- were removed, and re-assigned to the [ zend-i18n] ( https://zendframework.github.io /zend-i18n/ )
244
- and [ zend-mvc-i18n] ( https://zendframework.github.io /zend-mvc-i18n/ ) packages.
243
+ were removed, and re-assigned to the [ zend-i18n] ( https://docs. zendframework.com /zend-i18n/ )
244
+ and [ zend-mvc-i18n] ( https://docs. zendframework.com /zend-mvc-i18n/ ) packages.
245
245
In most cases, you can install ` zendframework/zend-mvc-i18n ` to restore i18n
246
246
functionality to your application:
247
247
@@ -261,9 +261,9 @@ Second, if you were extending one of the service factories for either the
261
261
factories have changed. In such situations, you have two options:
262
262
263
263
- Update your extensions to extend the new classes. See the [ zend-mvc-i18n
264
- migration guide] ( https://zendframework.github.io /zend-mvc-i18n/migration/v2-to-v3/ )
264
+ migration guide] ( https://docs. zendframework.com /zend-mvc-i18n/migration/v2-to-v3/ )
265
265
to determine what names have changed.
266
- - Instead of extending, consider using [ delegator factories] ( https://zendframework.github.io /zend-servicemanager/delegators/ ) ,
266
+ - Instead of extending, consider using [ delegator factories] ( https://docs. zendframework.com /zend-servicemanager/delegators/ ) ,
267
267
as these decorate the service factory, regardless of what factory is used.
268
268
269
269
## Log integration
@@ -273,7 +273,7 @@ services by default, and provided specifications to zend-modulemanager's
273
273
` ServiceListener ` to allow modules to provide configuration for each.
274
274
275
275
This functionality is now removed from zend-mvc. It is now exposed directly by
276
- the [ zend-log] ( https://zendframework.github.io /zend-log/ ) component
276
+ the [ zend-log] ( https://docs. zendframework.com /zend-log/ ) component
277
277
itself. To add it, install zend-log:
278
278
279
279
``` bash
@@ -400,7 +400,7 @@ provided specifications to zend-modulemanager's `ServiceListener`
400
400
to allow modules to provide validator configuration.
401
401
402
402
This functionality is now removed from zend-mvc. It is now exposed directly by
403
- the [ zend-validator] ( https://zendframework.github.io /zend-validator/ ) component
403
+ the [ zend-validator] ( https://docs. zendframework.com /zend-validator/ ) component
404
404
itself. To add it, install zend-validator:
405
405
406
406
``` bash
0 commit comments