-
Notifications
You must be signed in to change notification settings - Fork 3
Installation
Wes King edited this page Oct 11, 2016
·
3 revisions
- Composer
- CakePHP 3.x
- PHP 5.4+
- Pecl Mongo Extension (Not MongoDB extension)
- MongoDB
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.