Skip to content

Commit 1bdf013

Browse files
committed
Added laminas-diactoros
- Moved zend-diactoros to the end of lists - Changed installation example to `laminas-diactoros` - Marked zend-diactoros as abandoned where possible
1 parent debdcaf commit 1bdf013

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

clients/includes/install-message-factory.inc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ accessed through :ref:`factories <message-factory>`. Message factories for
1414

1515
$ composer require php-http/message
1616

17-
.. _Diactoros: https://github.com/zendframework/zend-diactoros
17+
.. _Laminas Diactoros: https://github.com/laminas/laminas-diactoros
1818
.. _Guzzle PSR-7: https://github.com/guzzle/psr7
1919
.. _Slim Framework: https://github.com/slimphp/Slim
20+
.. _Zend Diactoros: https://github.com/zendframework/zend-diactoros

httplug/users.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,11 @@ You can pick any of the clients or adapters :doc:`provided by PHP-HTTP </clients
3636
Popular choices are ``php-http/curl-client`` and ``php-http/guzzle6-adapter``.
3737

3838
Many libraries also need a PSR-7 implementation and the PHP-HTTP message
39-
factories to create messages. The PSR-7 implementations are Zend's Diactoros, Guzzle's PSR-7 and Slim Framework's PSR-7 messages. Do one of the following:
39+
factories to create messages. The PSR-7 implementations are Zend's Diactoros (abandoned), Laminas Diactoros, Guzzle's PSR-7 and Slim Framework's PSR-7 messages. Do one of the following:
4040

4141
.. code-block:: bash
4242
43-
$ composer require php-http/message zendframework/zend-diactoros
43+
$ composer require php-http/message laminas/laminas-diactoros
4444
4545
.. code-block:: bash
4646

message/message-factory.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@ It would make sense to also provide factories for the server side constructs
135135
to do that yet. Contributions are welcome if you want to define the
136136
``ServerRequestFactory`` and ``UploadedFileFactory``.
137137

138-
.. _Diactoros: https://github.com/zendframework/zend-diactoros
138+
.. _Laminas Diactoros: https://github.com/laminas/laminas-diactoros
139139
.. _Guzzle PSR-7: https://github.com/guzzle/psr7
140140
.. _Slim Framework: https://github.com/slimphp/Slim
141+
.. _Zend Diactoros: https://github.com/zendframework/zend-diactoros

0 commit comments

Comments
 (0)