File tree Expand file tree Collapse file tree 3 files changed +10
-9
lines changed
Expand file tree Collapse file tree 3 files changed +10
-9
lines changed Original file line number Diff line number Diff line change 1111fix :
1212 docker-compose -f $(CONFIG ) run php80 ./vendor/bin/php-cs-fixer fix
1313
14+ install :
15+ docker-compose -f $(CONFIG ) build
16+ docker-compose -f $(CONFIG ) run php80 composer install
17+
1418phpstan :
1519 docker-compose -f $(CONFIG ) run php80 ./vendor/bin/phpstan analyse
1620
Original file line number Diff line number Diff line change @@ -24,19 +24,12 @@ This repository provides a starting point for other PHP projects.
24241 . Commit & push.
25251 . Continue work on the new project.
2626
27- ## Installation
28-
29- Fetch dependencies with Composer.
30-
31- ``` bash
32- composer install
33- ```
34-
3527## Make commands
3628
37- Starting and shutting down:
29+ Installation, starting and shutting down:
3830
3931``` bash
32+ make install
4033make up
4134make down
4235```
Original file line number Diff line number Diff line change @@ -2,5 +2,9 @@ FROM php:8.0-cli
22
33RUN apt-get update
44
5+ RUN apt-get install unzip
6+
57RUN pecl install xdebug
68RUN docker-php-ext-enable xdebug
9+
10+ RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
You can’t perform that action at this time.
0 commit comments