aboutsummaryrefslogtreecommitdiffstats
path: root/doc/src/usage/ddev-composer.md
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2024-06-27 12:43:32 +0200
committerHarald Eilertsen <haraldei@anduin.net>2024-06-27 12:43:32 +0200
commit2363c716c0c6dfd91c7a2f1ea00881160b612c84 (patch)
treee9a7e3525aa65541d3016d064bf16dea8c8b49dc /doc/src/usage/ddev-composer.md
parentb20f31182bae222e15c09b2a5d299b44043bfdb8 (diff)
downloadhubzilla-ddev-2363c716c0c6dfd91c7a2f1ea00881160b612c84.tar.gz
hubzilla-ddev-2363c716c0c6dfd91c7a2f1ea00881160b612c84.tar.bz2
hubzilla-ddev-2363c716c0c6dfd91c7a2f1ea00881160b612c84.zip
Begin doc using mdbook.
Diffstat (limited to 'doc/src/usage/ddev-composer.md')
-rw-r--r--doc/src/usage/ddev-composer.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/src/usage/ddev-composer.md b/doc/src/usage/ddev-composer.md
new file mode 100644
index 0000000..d99ddea
--- /dev/null
+++ b/doc/src/usage/ddev-composer.md
@@ -0,0 +1,14 @@
+# ddev composer
+
+This command works just like the regular composer command, except it runs in the web container.
+
+**Example:** Install all the dependencies of the project in the web container.
+
+```bash
+$ ddev composer install
+```
+
+
+It is recommended to always run composer via ddev, as this ensures that the
+dependencies installed works with the version of PHP that is being used by the
+container. This may be different from what is installed on the host system.