File tree 1 file changed +7
-3
lines changed
1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -40,14 +40,18 @@ In both cases you have to install the discovery package itself:
40
40
41
41
As mentioned above, discovery relies on Puli. In order to use discovery, you need to also set up Puli.
42
42
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 :
44
44
45
45
.. code-block :: bash
46
46
47
47
$ composer require puli/composer-plugin
48
48
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
+
51
55
52
56
Read more about setting up Puli in their `official documentation `_.
53
57
You can’t perform that action at this time.
0 commit comments