Comments (2)
The point in using an abstraction in the library is that you can use whichever HTTP client you want. For example if your application relies on Guzzle 5 you wouldn't be able to install this package if Guzzle 6 was a dependency. The other advantage is that you don't need a bunch of clients to be installed. What's really annoying is when 5 different packages install 5 different HTTP clients as dependencies.
It may add some complexity to the installation process, but it comes with a few advantages too which worth it IMO.
from fxmlrpc.
@tomsommer I agree with the sentiment, I find the current state of usability of PSR-7 can be improved but if I have to deal with some usability problems and get an HTTP client standard in exchange I am willing do to that trade off.
from fxmlrpc.
Related Issues (20)
- Logging requests HOT 5
- Explicit empty() HOT 1
- Non-XML response returns null, no way to access response HOT 3
- Confusing $isFault in Client HOT 2
- Can't parse XML the $xmlParser->parse($xmlString) return null on valid XML HOT 1
- Ivory is deprecated in favor of php-http HOT 5
- Uncaught RuntimeException: Puli Factory is not available HOT 1
- Use php-cs-fixer HOT 1
- Finalize exported serialization package HOT 7
- Installation HOT 2
- 6MB XML file HOT 2
- Cannot install guzzle6 adapter HOT 1
- Package not updated @packagist HOT 1
- Slow speed tests HOT 1
- zend-diactoros is abandoned HOT 3
- Implement PSR-17/18 adapter for direct connection to Guzzle 7
- PHP 8 support HOT 9
- array with one integer key not zero converted to array and not to struct HOT 4
- [Bug] Implementation of PSR 17 Factories breaks requests
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fxmlrpc.