Skip to content

Installation

Wes King edited this page Oct 11, 2016 · 3 revisions

Requirements

  • Composer
  • CakePHP 3.x
  • PHP 5.4+
  • Pecl Mongo Extension (Not MongoDB extension)
  • MongoDB

Installation

In your CakePHP root directory: run the following command:

composer require lewestopher/cakephp-monga

Then in your config/bootstrap.php in your project root, add the following snippet:

// In project_root/config/bootstrap.php:

Plugin::load('CakeMonga');

or you can use the following shell command to enable to plugin in your bootstrap.php automatically:

bin/cake plugin load CakeMonga

Now on to Configuring a Datasource.

Clone this wiki locally