Let's continue with our example project by adding Composer integration. The GitLab flow policy says that we should be doing this work on a branch, and that branch names should start with the issue number followed by a hyphen-separated description of the branch. For our example, we'll use 1-add-composer.json and check it out like so:
git branch 1-add-composer.jsongit checkout 1-add-composer.json
We can also shorten this to the following:
git checkout -b 1-add-composer.json
Now, let's add our composer.json file. You'll need to follow the instructions to install Composer at https://getcomposer.org. Then, from the directory with your project, run the following:
composer init
This will lead you through an interactive ...