Questions tagged [php-mongodb]

MongoDB driver: PHP Extension for Mongo DB

Unlike the mongo extension, this extension supports both PHP and HHVM and is developed atop the » libmongoc and » libbson libraries. It provides a minimal API for core driver functionality: commands, queries, writes, connection management, and BSON serialization.

Userland PHP libraries that depend on this extension may provide higher level APIs, such as query builders, individual command helper methods, and GridFS. Application developers should consider using this extension in conjunction with the » MongoDB PHP library, which implements the same higher level APIs found in MongoDB drivers for other languages. This separation of concerns allows the driver to focus on essential features for which an extension implementation is paramount for performance.

168 questions
-1
votes
1 answer

MongoDB php extension installation failed on MacOs

I am trying to install the MongoDB PHP Extension in my new MacBook Air M1. I am facing the following error during installation The command I am using for installation sudo pecl install mongodb The error I am…
Aniket
  • 156
  • 13
-1
votes
1 answer

Json array to array

I have an JSON array from laravel like this: Illuminate\Support\Collection Object ( [items:protected] => Array ( [0] => Array ( [_id] => MongoDB\BSON\ObjectID Object …
statistic
  • 162
  • 1
  • 13
-2
votes
1 answer

how to install php7 mongodb driver on xampp on ubuntu

I want to know, how to install monngodb driver for php7 in xampp on ubuntu. I have already download driver mongodb-1.1.6.tgz. but do't know how to install.
Durgesh Pandey
  • 119
  • 1
  • 1
  • 11
1 2 3
11
12