Skip to content

Commit c11500b

Browse files
authored
Update composer instructions in README (#1110)
1 parent 3247b61 commit c11500b

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

README.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,10 @@ This single application could likely be split up at some point. Everything is cu
2121

2222
### Install dependencies
2323

24-
It is recommended to install the php dependencies via a composer docker container as that contains the required php extensions:
25-
```
26-
docker run --rm -it -v $PWD:/app -u $(id -u):$(id -g) composer install --ignore-platform-reqs
27-
```
24+
It is recommended to install the php dependencies via a composer docker container as that contains the required php extensions. Everyone using the same composer version also reduces the amount of changes in `composer.lock` (and thus the potential for git conflicts).
2825

29-
Alternatively, you can run `composer` on your local machine (ignoring platform requirements):
3026
```
31-
composer install --ignore-platform-reqs
27+
docker run --rm -it -v $PWD:/app -u $(id -u):$(id -g) composer:2.9.2 --ignore-platform-reqs=ext-pcntl install
3228
```
3329

3430
### Initial setup

0 commit comments

Comments
 (0)