Running PHPUnit Tests with Code Coverage in PHPStorm When Working in Docker

Running PHPUnit Tests with Code Coverage in PHPStorm When Working in Docker

Running PHP Unit tests with code coverage in PhpStorm

In PhpStorm, there is a possibility to create Run/Debug Configurations and to run them from IDE. It allows the project participants to share common configurations using a ‘Shared’ flag in the settings. One of such operations is running unit tests in the course of development. Let’s discuss how to fine-tune this process by means of Docker.

How to Set up a Symfony Project for Work with Docker Subdomains

How to Set up a Symfony Project for Work with Docker Subdomains

Symfony with Docker

There are situations when Symfony needs routing based on subdomains. For example, when we deal with various functional clusters within one project or one repository. Let’s say, when, apart from API, there is an administrative part written in Symfony bundles or some functionality for public access urls from the client-side.