Tips

Composer update without having the MongoDB extension installed

As Integrated uses MongoDB, Composer requires the PHP Mongo extension for an install or update.

Sometimes you want to do the composer update on your local machine, while working with (for example) Vagrant. When you did not install the Mongo extension on your local machine you will have an error message like:

1
2
Problem 1
 - doctrine/mongodb 1.3.0 requires ext-mongo ^1.5 -> the requested PHP extension mongo is missing from your system.

You can ignore the MongoDB requirement in this case with the "ignore-platform-deps" flag:

1
php composer.phar update --ignore-platform-deps