A little caveat (composer) documented.

When you use Vagrant or some VM in general, and trigger the composer
install command from within your Host, the dependency installer will
fail due to one dependency which checks for a PDO installation.