Tools

Now that you know more about TDD and BDD, it is time to explain a few tools that you can use in your development workflow. There are a lot of tools available, but we will only explain the most used ones.

Composer

Composer is a PHP tool used to manage software dependencies. You only need to declare the libraries required by your project and Composer will manage them, installing and updating them when necessary. This tool has only a few requirements--if you have PHP 5.3.2+, you are ready to go. In the case of a missing requirement, Composer will warn you.

You can install this dependency manager on your development machine, but since we are using Docker, we will install it directly on our PHP-FPM (FastCGI Process Manager) containers. The installation ...

Get PHP Microservices now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.