Skip to content

deprecate cakephp adapter, cakephp implements PSR-18 directly #319

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions clients.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,16 @@ interface and forwarding the calls to an HTTP client not implementing the interf
:hidden:

clients/curl-client
clients/socket-client
clients/mock-client
clients/symfony-client
clients/artax-adapter
clients/guzzle7-adapter
clients/react-adapter
clients/buzz-adapter
clients/cakephp-adapter
clients/guzzle5-adapter
clients/guzzle6-adapter
clients/guzzle7-adapter
clients/react-adapter
clients/socket-client
clients/zend-adapter

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

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

"``php-http/socket-client``", "Client", ":doc:`Docs </clients/socket-client>`, `Repo <https://github.com/php-http/socket-client>`__", "|socket_version| |socket_downloads| "
"``php-http/buzz-adapter``", "Adapter", ":doc:`Docs </clients/buzz-adapter>`, `Repo <https://github.com/php-http/buzz-adapter>`__", "|buzz_version| |buzz_downloads| "
"``php-http/cakephp-adapter``", "Adapter", ":doc:`Docs </clients/cakephp-adapter>`, `Repo <https://github.com/php-http/cakephp-adapter>`__", "|cakephp_version| |cakephp_downloads| "
"``php-http/guzzle5-adapter``", "Adapter", ":doc:`Docs </clients/guzzle5-adapter>`, `Repo <https://github.com/php-http/guzzle5-adapter>`__", "|guzzle5_version| |guzzle5_downloads| "
"``php-http/guzzle6-adapter``", "Adapter", ":doc:`Docs </clients/guzzle6-adapter>`, `Repo <https://github.com/php-http/guzzle6-adapter>`__", "|guzzle6_version| |guzzle6_downloads| "
"``php-http/zend-adapter``", "Adapter", ":doc:`Docs </clients/zend-adapter>`, `Repo <https://github.com/php-http/zend-adapter>`__", "|zend_version| |zend_downloads| "
Expand Down
10 changes: 6 additions & 4 deletions clients/cakephp-adapter.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
CakePHP Adapter
===============
CakePHP Adapter (deprecated)
============================

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

Installation
------------
Expand Down Expand Up @@ -50,4 +52,4 @@ Or if you installed the :doc:`discovery </discovery>` layer::

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

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