June 2017
Intermediate to advanced
536 pages
9h 49m
English
We need to make sure we have the PHP CLI and MongoDB driver extension installed:
sudo apt-get -y install php-pearsudo apt-get -y install php7.0-devsudo apt-get -y install libcurl4-openssl-dev pkg-config libssl-dev libsslcommon2-devsudo pecl install mongodb
Upon successful execution of these commands, we can confirm that the mongodb driver extension is installed, as shown in the following screenshot:

Aside from the driver extension, we also need a mongodb/mongodb composer package added to our project directory. We can do so by running the following console command:
sudo apt-get -y install composer ...
Read now
Unlock full access