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.
Package info
github.com/lostphilosopher/mongolab-lite-utils
pkg:composer/lostphilosopher/mongolab-lite-utils
dev-master
2015-01-25 23:57 UTC
Requires
- php: >=5.3.0
This package is not auto-updated.
Last update: 2026-03-29 00:04:44 UTC
README
MongolabLiteUtils provides convenient wrapper methods for connecting to and using a mongolab database.
MongolabLiteUtils Usage
use MongolabLiteUtils\MongolabLiteUtils;
$mongo = new MongolabLiteUtils(getenv('MONGOLAB_URI'));
$collection = $mongo->getCollection('collection_name');
$collection->insert($record);
$data = $collection->find();