Skip to content

Added the two most common errors with discovery #101

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
Mar 22, 2016
Merged
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
21 changes: 21 additions & 0 deletions discovery.rst
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,27 @@ If you need the composer-plugin for testing in a reusable library, make it a dev
Read more about setting up Puli in their `official documentation`_.


Common Errors
-------------

Puli Factory is not available
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

If you get an error that says "*Puli Factory is not available*", it means that you have failed to install Puli. You should
make sure you install the latest version of ``puli/composer-plugin``.

No factories found
^^^^^^^^^^^^^^^^^^

The error "*No factories found. To use Guzzle or Diactoros factories install php-http/message and the chosen message implementation.*"
tells you that Puli could not find an installed implementation of PSR-7 and/or factories to that implementation. You
need to install those libraries. If you want to use Guzzle you may run:

.. code-block:: bash

$ composer require php-http/message guzzlehttp/psr7


HTTP Client Discovery
---------------------

Expand Down