-
Updated
Oct 1, 2020 - PHP
psr7
Here are 45 public repositories matching this topic...
-
Updated
Sep 15, 2020 - PHP
-
Updated
Jul 3, 2020 - PHP
-
Updated
Feb 10, 2020 - PHP
-
Updated
Jul 30, 2020 - PHP
-
Updated
Feb 14, 2019 - PHP
-
Updated
Jul 13, 2020 - PHP
-
Updated
Apr 5, 2017 - PHP
-
Updated
Sep 24, 2019 - PHP
-
Updated
Jan 10, 2020 - PHP
-
Updated
Jul 28, 2020 - PHP
-
Updated
Jun 23, 2017
-
Updated
Nov 17, 2017 - PHP
-
Updated
Jan 4, 2018 - PHP
-
Updated
Jun 9, 2020 - PHP
-
Updated
Oct 14, 2019 - PHP
-
Updated
Dec 27, 2019 - PHP
Update method and property signatures to take advantage of strict types
Improve this page
Add a description, image, and links to the psr7 topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the psr7 topic, visit your repo's landing page and select "manage topics."
PSR的RequestInterface没有规定实现exec方法,所以我设计组装一个http客户端无关的request的时候,我肯定不能绑定和客户端强相关的exec方法到Request上,因为每个客户端的异常类型、处理逻辑都不相同。
我设计一个composer组件,在组装请求部分,返回了个psr对象,本意是guzzle或者saber等支持PSR标准的HTTP客户端都可以按psr标准把这个对象代表的请求发送出去,现在Guzzle可以做到(
$guzzleClient->send($PSRrequest))而saber因为把PSR相关的处理逻辑绑定到他自定义的Request上,导致这样的设计没法实施。