March 2019
Intermediate to advanced
394 pages
11h 4m
English
The MongoDB PHP driver was rewritten from scratch two years ago to support the PHP 5, PHP 7, and HHVM architectures. The current architecture is shown in the following diagram:

Currently, we have official drivers for all three architectures with full support for the underlying functionality.
Installation is a two-step process. First, we need to install the MongoDB extension. This extension is dependent on the version of PHP (or HHVM) that we have installed and can be done using brew in macOS. The following example is with PHP 7.0:
brew install php70-mongodb
Then, use composer (a widely-used dependency manager for PHP) ...
Read now
Unlock full access