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
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is not auto-updated.
Last update: 2026-09-13 02:26:37 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();