Skip to content

Commit 1343b0b

Browse files
committed
deprecate cakephp adapter, cakephp implements PSR-18 directly
1 parent 44cb19c commit 1343b0b

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

clients.rst

+4-4
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,16 @@ interface and forwarding the calls to an HTTP client not implementing the interf
2121
:hidden:
2222

2323
clients/curl-client
24-
clients/socket-client
2524
clients/mock-client
2625
clients/symfony-client
2726
clients/artax-adapter
27+
clients/guzzle7-adapter
28+
clients/react-adapter
2829
clients/buzz-adapter
2930
clients/cakephp-adapter
3031
clients/guzzle5-adapter
3132
clients/guzzle6-adapter
32-
clients/guzzle7-adapter
33-
clients/react-adapter
33+
clients/socket-client
3434
clients/zend-adapter
3535

3636
Current Clients and Adapters
@@ -44,7 +44,6 @@ Current Clients and Adapters
4444
"``php-http/mock-client``", "Client", ":doc:`Docs </clients/mock-client>`, `Repo <https://github.com/php-http/mock-client>`__", "|mock_version| |mock_downloads| "
4545
"``symfony/http-client``", "Client", ":doc:`Docs </clients/symfony-client>`, `Repo <https://github.com/symfony/http-client>`__", "|symfony_version| |symfony_downloads| "
4646
"``php-http/artax-adapter``", "Adapter", ":doc:`Docs </clients/artax-adapter>`, `Repo <https://github.com/php-http/artax-adapter>`__", "|artax_version| |artax_downloads| "
47-
"``php-http/cakephp-adapter``", "Adapter", ":doc:`Docs </clients/cakephp-adapter>`, `Repo <https://github.com/php-http/cakephp-adapter>`__", "|cakephp_version| |cakephp_downloads| "
4847
"``php-http/guzzle7-adapter``", "Adapter", ":doc:`Docs </clients/guzzle7-adapter>`, `Repo <https://github.com/php-http/guzzle7-adapter>`__", "|guzzle7_version| |guzzle7_downloads| "
4948
"``php-http/react-adapter``", "Adapter", ":doc:`Docs </clients/react-adapter>`, `Repo <https://github.com/php-http/react-adapter>`__", "|react_version| |react_downloads| "
5049

@@ -59,6 +58,7 @@ These are not maintained anymore, but we keep documentation around for now. Plea
5958

6059
"``php-http/socket-client``", "Client", ":doc:`Docs </clients/socket-client>`, `Repo <https://github.com/php-http/socket-client>`__", "|socket_version| |socket_downloads| "
6160
"``php-http/buzz-adapter``", "Adapter", ":doc:`Docs </clients/buzz-adapter>`, `Repo <https://github.com/php-http/buzz-adapter>`__", "|buzz_version| |buzz_downloads| "
61+
"``php-http/cakephp-adapter``", "Adapter", ":doc:`Docs </clients/cakephp-adapter>`, `Repo <https://github.com/php-http/cakephp-adapter>`__", "|cakephp_version| |cakephp_downloads| "
6262
"``php-http/guzzle5-adapter``", "Adapter", ":doc:`Docs </clients/guzzle5-adapter>`, `Repo <https://github.com/php-http/guzzle5-adapter>`__", "|guzzle5_version| |guzzle5_downloads| "
6363
"``php-http/guzzle6-adapter``", "Adapter", ":doc:`Docs </clients/guzzle6-adapter>`, `Repo <https://github.com/php-http/guzzle6-adapter>`__", "|guzzle6_version| |guzzle6_downloads| "
6464
"``php-http/zend-adapter``", "Adapter", ":doc:`Docs </clients/zend-adapter>`, `Repo <https://github.com/php-http/zend-adapter>`__", "|zend_version| |zend_downloads| "

clients/cakephp-adapter.rst

+6-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1-
CakePHP Adapter
2-
===============
1+
CakePHP Adapter (deprecated)
2+
============================
33

4-
An HTTPlug adapter for the `CakePHP HTTP client`_.
4+
This adapter only implements the PHP-HTTP synchronous interface. This interface
5+
has been superseded by PSR-18, which the `CakePHP HTTP client`_ implements
6+
directly.
57

68
Installation
79
------------
@@ -50,4 +52,4 @@ Or if you installed the :doc:`discovery </discovery>` layer::
5052

5153
.. include:: includes/further-reading-async.inc
5254

53-
.. _CakePHP HTTP client: https://book.cakephp.org/3.0/en/core-libraries/httpclient.html
55+
.. _CakePHP HTTP client: https://book.cakephp.org/5.0/en/core-libraries/httpclient.html

0 commit comments

Comments
 (0)