lostphilosopher/mongolab-lite-utils

There is no license information available for the latest version (dev-master) of this package.

MongolabLiteUtils provides convenient wrapper methods for connecting to and using a mongolab database.

dev-master 2015-01-25 23:57 UTC

This package is not auto-updated.

Last update: 2024-09-28 16:36:19 UTC


README

MongolabLiteUtils provides convenient wrapper methods for connecting to and using a mongolab database.

https://mongolab.com/

MongolabLiteUtils Usage

use MongolabLiteUtils\MongolabLiteUtils;

$mongo = new MongolabLiteUtils(getenv('MONGOLAB_URI'));

$collection = $mongo->getCollection('collection_name');

$collection->insert($record);

$data = $collection->find();