Skip to content

Commit e0b4c87

Browse files
committed
Add Docker instructions
1 parent 42e25a9 commit e0b4c87

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/CONTRIBUTING.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,21 @@ script. It will:
1919

2020
If something doesn't work out, just check what the script does and do it manually.
2121

22+
### Docker
23+
24+
If you don't want to deal with Git, PHP, and Composer versions on your system, you can use Docker:
25+
26+
```bash
27+
docker compose up --build
28+
```
29+
30+
Then you could open a terminal inside the container and use Composer:
31+
32+
```
33+
root@dc786c020761:/# composer --version
34+
Composer version 2.6.6 2023-12-08 18:32:26
35+
```
36+
2237
## Code Formatting
2338

2439
I follow PSR for PHP and Prettier defaults for everything else. The only

0 commit comments

Comments
 (0)