Chapter 8. Deployment

Throughout the previous chapters, you have learned how to develop an application based on microservices. Now, it is time to learn about the deployment of your application, learning the best strategies to automate and roll back your application and also, doing back ups and restores if needed.

Dependency management

As we mentioned in Chapter 5, Microservice DevelopmentComposer is the most-used dependency management tool; it can help us move a project from the development environment to production in the deployment process.

There are some different opinions about what the best workflow for the deployment process is, so let's look at the advantages and disadvantages of every case.

Composer require-dev

To be used on the development ...

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.