Skip to content

Added laminas-diactoros #276

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 6 commits into from
Jun 15, 2020
Merged
Show file tree
Hide file tree
Changes from 3 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
3 changes: 2 additions & 1 deletion clients/includes/install-message-factory.inc
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ accessed through :ref:`factories <message-factory>`. Message factories for

$ composer require php-http/message

.. _Diactoros: https://github.com/zendframework/zend-diactoros
.. _Guzzle PSR-7: https://github.com/guzzle/psr7
.. _Laminas Diactoros: https://github.com/laminas/laminas-diactoros
.. _Slim Framework: https://github.com/slimphp/Slim
.. _Zend Diactoros: https://github.com/zendframework/zend-diactoros
4 changes: 2 additions & 2 deletions httplug/users.rst
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@ You can pick any of the clients or adapters :doc:`provided by PHP-HTTP </clients
Popular choices are ``php-http/curl-client`` and ``php-http/guzzle6-adapter``.

Many libraries also need a PSR-7 implementation and the PHP-HTTP message
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:
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:

.. code-block:: bash

$ composer require php-http/message zendframework/zend-diactoros
$ composer require php-http/message laminas/laminas-diactoros

.. code-block:: bash

Expand Down
3 changes: 2 additions & 1 deletion message/message-factory.rst
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ It would make sense to also provide factories for the server side constructs
to do that yet. Contributions are welcome if you want to define the
``ServerRequestFactory`` and ``UploadedFileFactory``.

.. _Diactoros: https://github.com/zendframework/zend-diactoros
.. _Guzzle PSR-7: https://github.com/guzzle/psr7
.. _Laminas Diactoros: https://github.com/laminas/laminas-diactoros
.. _Slim Framework: https://github.com/slimphp/Slim
.. _Zend Diactoros: https://github.com/zendframework/zend-diactoros
1 change: 1 addition & 0 deletions spelling_word_list.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ Elasticsearch
fallback
GitHub
hotfix
Laminas
Liskov
Symfony
HTTPlug
Expand Down