Démarrage de mongod. $manager = new MongoDB\Driver\Manager("mongodb://localhost");
Exemple #1 Connexion à MongoDB
<?php$manager = new MongoDB\Driver\Manager("mongodb://localhost:27017/");?>