A Makefile and Taskfile to improve the DX of your Symfony projects!
You will find a collection of everyday useful commands in a Symfony project.
Feel free to modify it for your projects.
-
- 2.1. Requirements
- 2.2. Installation
- 2.3. Usage/Examples
-
- 3.1. Requirements
- 3.2. Installation
- 3.3. Usage/Examples
This file was created to be used in a Linux environment, some commands should be adapted to your operating system.
-
You must have
make
on your computer. -
You can check if
make
is available with the command:
make -v
You just need to add the file Makefile
to the root of your Symfony project
wget https://raw.githubusercontent.com/yoanbernabeu/Symfony-And-Docker-Makefile-Taskfile/main/Makefile
To get help from the file, just run the command:
make help
Then choose your "target" and have fun with it:
make [target]
This file was created to be used in a Linux environment, some commands should be adapted to your operating system.
-
You must have
task
on your computer. -
You can check if
task
is available with the command:
task --version
You just need to add the file Taskfile.yaml
to the root of your Symfony project
wget https://raw.githubusercontent.com/yoanbernabeu/Symfony-And-Docker-Makefile-Taskfile/main/Taskfile.yaml
To get help from the file, just run the command:
task help
Then choose your "target" and have fun with it:
task [target]