test mongo

This commit is contained in:
CHIEFSOFT\ameye
2024-02-20 12:38:19 -05:00
parent 0d40d4c57b
commit a41f029f76
2 changed files with 5 additions and 1 deletions
+3
View File
@@ -16,4 +16,7 @@ class Home extends BaseController
echo "hello world, from home controller";
phpinfo();
}
public function mongoDbTest(){
$client = new \MongoDB("mongodb://chiefsoft:may12002@10.0.0.32:27017/","mongoClient");
}
}
+2 -1
View File
@@ -13,7 +13,8 @@
"kint-php/kint": "^4.2",
"laminas/laminas-escaper": "^2.9",
"orhanerday/open-ai": "^4.8",
"psr/log": "^1.1"
"psr/log": "^1.1",
"ext-mongo": "*"
},
"require-dev": {
"codeigniter/coding-standard": "^1.5",