# 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.