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
makeon your computer. -
You can check if
makeis available with the command:
make -vYou 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/MakefileTo get help from the file, just run the command:
make helpThen 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
taskon your computer. -
You can check if
taskis available with the command:
task --versionYou 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.yamlTo get help from the file, just run the command:
task helpThen choose your "target" and have fun with it:
task [target]