PSR-7迫在眉睫,有一些问题要说一下
PSR-7 is pretty close to completion. PSR-7 is a new ‘PHP standard recommendation’, put out by the PHP-FIG group, of which I’m a member of.
It describes how to create PHP representations of a HTTP Request and a HTTP response.
记录-交流-Web开发知识分享
PSR-7 is pretty close to completion. PSR-7 is a new ‘PHP standard recommendation’, put out by the PHP-FIG group, of which I’m a member of.
It describes how to create PHP representations of a HTTP Request and a HTTP response.
Slim supports PSR-7 interfaces for its Request and Response objects. This makes Slim flexible because it can use any PSR-7 implementation. For example, a Slim application route does not have to return an instance of \Slim\Http\Response
. It could, for …
近期评论