File tree Expand file tree Collapse file tree 1 file changed +4
-9
lines changed Expand file tree Collapse file tree 1 file changed +4
-9
lines changed Original file line number Diff line number Diff line change @@ -745,20 +745,15 @@ HTTPlug
745745The `HTTPlug `_ specification was published before PSR-18 and is superseded by
746746it. As such, you should not use it in newly written code. Yet, many libraries
747747still require v1 or v2 of it. The component is interoperable with them thanks to
748- the ``HttplugClient `` adapter class. Similarly to ``Psr18Client `` implementing
749- relevant parts of PSR-17, ``HttplugClient `` also implements the factory methods
750- defined in the related ``php-http/message-factory `` package.
751-
752- Internally, the implementation relies on the ``Psr18Client ``, so that the
753- ``psr/http-client `` package is needed to use this class:
748+ the :class: `Symfony\\ Component\\ HttpClient\\ HttplugClient ` adapter class. Similarly
749+ to ``Psr18Client `` implementing relevant parts of PSR-17, ``HttplugClient `` also
750+ implements the factory methods defined in the related ``php-http/message-factory ``
751+ package.
754752
755753.. code-block :: terminal
756754
757755 # Let's suppose php-http/httplug is already required by the lib you want to use
758756
759- # installs the PSR-18 ClientInterface
760- $ composer require psr/http-client
761-
762757 # installs an efficient implementation of response and stream factories
763758 # with autowiring aliases provided by Symfony Flex
764759 $ composer require nyholm/psr7
You can’t perform that action at this time.
0 commit comments