Skip to content

Commit c9a4945

Browse files
committed
Merge pull request #91 from php-http/discovery-puli-setup
clarify puli installation
2 parents 6f1281a + 0198abf commit c9a4945

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

discovery.rst

+7-3
Original file line numberDiff line numberDiff line change
@@ -40,14 +40,18 @@ In both cases you have to install the discovery package itself:
4040
4141
As mentioned above, discovery relies on Puli. In order to use discovery, you need to also set up Puli.
4242
The easiest way is installing the composer-plugin which automatically configures all the composer packages to act as
43-
Puli modules:
43+
Puli modules. For applications, simply do:
4444

4545
.. code-block:: bash
4646
4747
$ composer require puli/composer-plugin
4848
49-
This is only necessary in an application. However, you might also want to install the composer-plugin as a development
50-
dependency in reusable libraries as well (for example to use discovery in tests).
49+
If you need the composer-plugin for testing in a reusable library, make it a development dependency instead:
50+
51+
.. code-block:: bash
52+
53+
$ composer require --dev puli/composer-plugin
54+
5155
5256
Read more about setting up Puli in their `official documentation`_.
5357

0 commit comments

Comments
 (0)