NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist
Packagist, #3662 most downloaded on Packagist
Adapter to provide ext-mongo interface on top of mongo-php-library
Latest stable
1.2.5
Last release 3 years ago
no release in 18 months
Release timing varies
gaps range from 2 weeks to 1.5 years
Nearly every release is documented
notes for 32 of 33 stable releases
Nothing withdrawn
no release was ever pulled
11 years old
34 releases · first in 2016
Drag across the ruler to compare, or tap a release to open it.
PHP 8.2 compatibility - deprecation notice fix by @stevan-tosic in https://github.com/alcaeus/mongo-php-adapter/pull/306
Full Changelog: https://github.com/alcaeus/mongo-php-adapter/compare/1.2.4...1.2.5
This release fixes a call to a no longer defined method after updating to version 1.16 of the MongoDB driver.
This release fixes a call to a no longer defined method after updating to version 1.16 of the MongoDB driver.
Full Changelog: https://github.com/alcaeus/mongo-php-adapter/compare/1.2.3...1.2.4
Your coding agent can read these notes before it upgrades. Set up the MCP server →
This release adds instrumentation when creating a client.
This release adds instrumentation when creating a client.
This release provides basic support for PHP 8.1.
This release provides basic support for PHP 8.1.
Total pull requests resolved: 2
PHP 8 compatibility release: this release adds support for PHP 8. It also fixes a bug when converting MongoCode objects with an empty scope, which can
PHP 8 compatibility release: this release adds support for PHP 8. It also fixes a bug when converting MongoCode objects with an empty scope, which can lead to failures when running mapreduce commands on newer MongoDB server versions.
Total pull requests resolved: 1
Total pull requests resolved: 1
Total pull requests resolved: 2
Total pull requests resolved: 3
Total pull requests resolved: 1
This release fixes handling of ArrayObject instances in MongoCollection::insert.
This release fixes handling of ArrayObject instances in MongoCollection::insert.
This release fixes type conversion for write concern passed to MongoClient via URL arguments.
This release fixes type conversion for write concern passed to MongoClient via URL arguments.
Total pull requests resolved: 4
I'm happy to announce that version 1.1.5 of mongo-php-adapter is now available.
I'm happy to announce that version 1.1.5 of mongo-php-adapter is now available.
This release fixes the handling of mongodb+srv connection URLs in MongoClient.
All issues and pull requests under this release may be found under the 1.1.5 milestone.
Please use the issue tracker to report any issues that you may encounter.
The preferred method of installing this library is with Composer by running the following from your project root:
$ composer config "platform.ext-mongo" "1.6.16" && composer require "alcaeus/mongo-php-adapter=^1.1.5"
The composer config call is to ensure the requirement to ext-mongo can be resolved correctly. This is due to a bug in composer, see composer/composer#5030. It is not recommended to use --ignore-platform-reqs to work around this issue.
I'm happy to announce that version 1.1.4 of mongo-php-adapter is now available.
I'm happy to announce that version 1.1.4 of mongo-php-adapter is now available.
This release fixes an issue where the return values of unacknowledged batch actions were incorrect.
All issues and pull requests under this release may be found under the 1.1.4 milestone.
Please use the issue tracker to report any issues that you may encounter.
The preferred method of installing this library is with Composer by running the following from your project root:
$ composer config "platform.ext-mongo" "1.6.16" && composer require "alcaeus/mongo-php-adapter=^1.1.4"
The composer config call is to ensure the requirement to ext-mongo can be resolved correctly. This is due to a bug in composer, see composer/composer#5030. It is not recommended to use --ignore-platform-reqs to work around this issue.
I'm happy to announce that version 1.1.3 of mongo-php-adapter is now available.
I'm happy to announce that version 1.1.3 of mongo-php-adapter is now available.
This release ensures compatibility with version 1.3 of ext-mongodb and fixes a few incompatibilities to the legacy driver.
All issues and pull requests under this release may be found under the 1.1.3 milestone.
Please use the issue tracker to report any issues that you may encounter.
The preferred method of installing this library is with Composer by running the following from your project root:
$ composer require "alcaeus/mongo-php-adapter=^1.1.3"
If your project already has a dependency on ext-mongo, the command above may
not work. This is due to a bug in composer, see composer/composer#5030.
To fix this, you can use the --ignore-platform-reqs switch when running the
above command, or when running composer update with no composer.lock file
present.
I'm happy to announce that version 1.1.2 of mongo-php-adapter is now available.
I'm happy to announce that version 1.1.2 of mongo-php-adapter is now available.
This release fixes an issue with an invalid call to count causing warnings in PHP 7.2.
All issues and pull requests under this release may be found under the 1.1.2 milestone.
Please use the issue tracker to report any issues that you may encounter.
The preferred method of installing this library is with Composer by running the following from your project root:
$ composer require "alcaeus/mongo-php-adapter=^1.1.2"
If your project already has a dependency on ext-mongo, the command above may
not work. This is due to a bug in composer, see composer/composer#5030.
To fix this, you can use the --ignore-platform-reqs switch when running the
above command, or when running composer update with no composer.lock file
present.
I'm happy to announce that version 1.1.1 of mongo-php-adapter is now available.
I'm happy to announce that version 1.1.1 of mongo-php-adapter is now available.
This release fixes a single issue relating to exception codes in MongoGridFSException exceptions occurring during GridFS operations.
All issues and pull requests under this release may be found under the 1.1.1 milestone.
Please use the issue tracker to report any issues that you may encounter.
The preferred method of installing this library is with Composer by running the following from your project root:
$ composer require "alcaeus/mongo-php-adapter=^1.1.1"
If your project already has a dependency on ext-mongo, the command above may
not work. This is due to a bug in composer, see composer/composer#5030.
To fix this, you can use the --ignore-platform-reqs switch when running the
above command, or when running composer update with no composer.lock file
present.
I'm happy to announce that version 1.1.1 of mongo-php-adapter is now available.
I'm happy to announce that version 1.1.1 of mongo-php-adapter is now available.
This release removes support for PHP 5.5 and implements the MongoCursor::explain method. It also allows reading the code and scope properties in MongoCode objects.
All issues and pull requests under this release may be found under the 1.1.0 milestone.
Please use the issue tracker to report any issues that you may encounter.
The preferred method of installing this library is with Composer by running the following from your project root:
$ composer require "alcaeus/mongo-php-adapter=^1.1.0"
If your project already has a dependency on ext-mongo, the command above may
not work. This is due to a bug in composer, see composer/composer#5030.
To fix this, you can use the --ignore-platform-reqs switch when running the
above command, or when running composer update with no composer.lock file
present.
I'm happy to announce that version 1.0.11 of mongo-php-adapter is now available.
I'm happy to announce that version 1.0.11 of mongo-php-adapter is now available.
This release fixes an issue with MongoCursor objects passing a batchSize of 0 by default, causing errors in sharded setups.
All issues and pull requests under this release may be found under the 1.0.11 milestone.
Please use the issue tracker to report any issues that you may encounter.
The preferred method of installing this library is with Composer by running the following from your project root:
$ composer require "alcaeus/mongo-php-adapter=^1.0.0"
If your project already has a dependency on ext-mongo, the command above may
not work. This is due to a bug in composer, see composer/composer#5030.
To fix this, you can use the --ignore-platform-reqs switch when running the
above command, or when running composer update with no composer.lock file
present.
I'm happy to announce that version 1.0.10 of mongo-php-adapter is now available.
I'm happy to announce that version 1.0.10 of mongo-php-adapter is now available.
This release fixes an issue when dealing with microseconds with leading zeroes in MongoDate objects.
All issues and pull requests under this release may be found under the 1.0.10 milestone.
Please use the issue tracker to report any issues that you may encounter.
The preferred method of installing this library is with Composer by running the following from your project root:
$ composer require "alcaeus/mongo-php-adapter=^1.0.0"
If your project already has a dependency on ext-mongo, the command above may
not work. This is due to a bug in composer, see composer/composer#5030.
To fix this, you can use the --ignore-platform-reqs switch when running the
above command, or when running composer update with no composer.lock file
present.
I'm happy to announce that version 1.0.9 of mongo-php-adapter is now available.
I'm happy to announce that version 1.0.9 of mongo-php-adapter is now available.
This release fixes a regression introduced with 1.0.8 relating to query projections with numeric field names. It also fixes type conversion when using BSON types in queries and makes the options parameter in MongoDB::createCollection optional to make the method signature consistent with the legacy driver.
All issues and pull requests under this release may be found under the 1.0.9 milestone.
Please use the issue tracker to report any issues that you may encounter.
The preferred method of installing this library is with Composer by running the following from your project root:
$ composer require "alcaeus/mongo-php-adapter=^1.0.0"
If your project already has a dependency on ext-mongo, the command above may
not work. This is due to a bug in composer, see composer/composer#5030.
To fix this, you can use the --ignore-platform-reqs switch when running the
above command, or when running composer update with no composer.lock file
present.
I'm happy to announce that version 1.0.8 of mongo-php-adapter is now available.
I'm happy to announce that version 1.0.8 of mongo-php-adapter is now available.
This release fixes a few inconsistencies with the legacy driver regarding query projections and write concern. It also fixes a bug when getting a document from a DBRef object and exposes all index options when calling `MongoCollection::getIndexInfo``.
All issues and pull requests under this release may be found under the 1.0.8 milestone.
Please use the issue tracker to report any issues that you may encounter.
The preferred method of installing this library is with Composer by running the following from your project root:
$ composer require "alcaeus/mongo-php-adapter=^1.0.0"
If your project already has a dependency on ext-mongo, the command above may
not work. This is due to a bug in composer, see composer/composer#5030.
To fix this, you can use the --ignore-platform-reqs switch when running the
above command, or when running composer update with no composer.lock file
present.
I'm happy to announce that version 1.0.7 of mongo-php-adapter is now available.
I'm happy to announce that version 1.0.7 of mongo-php-adapter is now available.
This release fixes the error codes used in calls to trigger_error. PHP does not allow using E_ERROR and E_WARNING in trigger_error, so this minor break compared to ext-mongo is unavoidable.
All issues and pull requests under this release may be found under the 1.0.7 milestone.
Please use the issue tracker to report any issues that you may encounter.
The preferred method of installing this library is with Composer by running the following from your project root:
$ composer require "alcaeus/mongo-php-adapter=^1.0.0"
If your project already has a dependency on ext-mongo, the command above may
not work. This is due to a bug in composer, see composer/composer#5030.
To fix this, you can use the --ignore-platform-reqs switch when running the
above command, or when running composer update with no composer.lock file
present.
I'm happy to announce that version 1.0.6 of mongo-php-adapter is now available.
I'm happy to announce that version 1.0.6 of mongo-php-adapter is now available.
This release fixes a wrongly capitalized class in MongoId and adds proper JSON serialization to the same class via the JsonSerializable interface.
All issues and pull requests under this release may be found under the 1.0.6 milestone.
Please use the issue tracker to report any issues that you may encounter.
The preferred method of installing this library is with Composer by running the following from your project root:
$ composer require "alcaeus/mongo-php-adapter=^1.0.0"
This package declares that it provides ext-mongo; Composer only allows this replacement to apply if composer.json or a dependency contain a requirement, see composer/composer#2690.
Therefore, you either need to have a dependency on a package which requires ext-mongo, such as doctrine/mongodb, in your project:
"require": {
"php": "^7.0",
"alcaeus/mongo-php-adapter": "^1.0.0",
"doctrine/mongodb": "dev-master"
}
or you need to explicitly require ext-mongo yourself in composer.json:
"require": {
"php": "^7.0",
"alcaeus/mongo-php-adapter": "^1.0.0",
"ext-mongo": "*"
}
I'm happy to announce that version 1.0.5 of mongo-php-adapter is now available.
I'm happy to announce that version 1.0.5 of mongo-php-adapter is now available.
This release fixes an error when passing both the update parameter and option to MongoCollection::findAndModify and improves the exception handling for bulk write operations. Last but not least, calling MongoCollection::getIndexInfo will now correctly report indexes with the unique option set.
All issues and pull requests under this release may be found under the 1.0.5 milestone.
Please use the issue tracker to report any issues that you may encounter.
The preferred method of installing this library is with Composer by running the following from your project root:
$ composer require "alcaeus/mongo-php-adapter=^1.0.0"
This package declares that it provides ext-mongo; Composer only allows this replacement to apply if composer.json or a dependency contain a requirement, see composer/composer#2690.
Therefore, you either need to have a dependency on a package which requires ext-mongo, such as doctrine/mongodb, in your project:
"require": {
"php": "^7.0",
"alcaeus/mongo-php-adapter": "^1.0.0",
"doctrine/mongodb": "dev-master"
}
or you need to explicitly require ext-mongo yourself in composer.json:
"require": {
"php": "^7.0",
"alcaeus/mongo-php-adapter": "^1.0.0",
"ext-mongo": "*"
}
I'm happy to announce that version 1.0.4 of mongo-php-adapter is now available.
I'm happy to announce that version 1.0.4 of mongo-php-adapter is now available.
This release fixes passing read preference and write concern options in the constructor for MongoClient. There is also a small bugfix with MongoCollection::aggregate, fixing behavior when passing aggregation stages as individual arguments.
All issues and pull requests under this release may be found under the 1.0.4 milestone.
Please use the issue tracker to report any issues that you may encounter.
The preferred method of installing this library is with Composer by running the following from your project root:
$ composer require "alcaeus/mongo-php-adapter=^1.0.0"
This package declares that it provides ext-mongo; Composer only allows this replacement to apply if composer.json or a dependency contain a requirement, see composer/composer#2690.
Therefore, you either need to have a dependency on a package which requires ext-mongo, such as doctrine/mongodb, in your project:
"require": {
"php": "^7.0",
"alcaeus/mongo-php-adapter": "^1.0.0",
"doctrine/mongodb": "dev-master"
}
or you need to explicitly require ext-mongo yourself in composer.json:
"require": {
"php": "^7.0",
"alcaeus/mongo-php-adapter": "^1.0.0",
"ext-mongo": "*"
}
I'm happy to announce that version 1.0.3 of mongo-php-adapter is now available.
I'm happy to announce that version 1.0.3 of mongo-php-adapter is now available.
This release fixes a bug in MongoCursor::count that would cause an error when counting a cursor that has been iterated as well as an issue when using BSON types in a projection for MongoCollection::findOne or MongoCollection::find.
All issues and pull requests under this release may be found under the 1.0.3 milestone.
Please use the issue tracker to report any issues that you may encounter.
The preferred method of installing this library is with Composer by running the following from your project root:
$ composer require "alcaeus/mongo-php-adapter=^1.0.0"
This package declares that it provides ext-mongo; Composer only allows this replacement to apply if composer.json or a dependency contain a requirement, see composer/composer#2690.
Therefore, you either need to have a dependency on a package which requires ext-mongo, such as doctrine/mongodb, in your project:
"require": {
"php": "^7.0",
"alcaeus/mongo-php-adapter": "^1.0.0",
"doctrine/mongodb": "dev-master"
}
or you need to explicitly require ext-mongo yourself in composer.json:
"require": {
"php": "^7.0",
"alcaeus/mongo-php-adapter": "^1.0.0",
"ext-mongo": "*"
}
I'm happy to announce that version 1.0.2 of mongo-php-adapter is now available.
I'm happy to announce that version 1.0.2 of mongo-php-adapter is now available.
This release fixes a bug in MongoCollection::hasNext method that could lead to wrong data being returned as well as a bug when passing database objects to the MongoClient::selectCollection method.
All issues and pull requests under this release may be found under the 1.0.2 milestone.
Please use the issue tracker to report any issues that you may encounter.
The preferred method of installing this library is with Composer by running the following from your project root:
$ composer require "alcaeus/mongo-php-adapter=^1.0.0"
This package declares that it provides ext-mongo; Composer only allows this replacement to apply if composer.json or a dependency contain a requirement, see composer/composer#2690.
Therefore, you either need to have a dependency on a package which requires ext-mongo, such as doctrine/mongodb, in your project:
"require": {
"php": "^7.0",
"alcaeus/mongo-php-adapter": "^1.0.0",
"doctrine/mongodb": "dev-master"
}
or you need to explicitly require ext-mongo yourself in composer.json:
"require": {
"php": "^7.0",
"alcaeus/mongo-php-adapter": "^1.0.0",
"ext-mongo": "*"
}
I'm happy to announce that version 1.0.1 of mongo-php-adapter is now available.
I'm happy to announce that version 1.0.1 of mongo-php-adapter is now available.
This release adds the legacy parameters limit and skip to the MongoCollection::count methods and fixes a bug related to BSON type conversion in MongoCollection::distinct.
All issues and pull requests under this release may be found under the 1.0.1 milestone.
Please use the issue tracker to report any issues that you may encounter.
The preferred method of installing this library is with Composer by running the following from your project root:
$ composer require "alcaeus/mongo-php-adapter=^1.0.0"
This package declares that it provides ext-mongo; Composer only allows this replacement to apply if composer.json or a dependency contain a requirement, see composer/composer#2690.
Therefore, you either need to have a dependency on a package which requires ext-mongo, such as doctrine/mongodb, in your project:
"require": {
"php": "^7.0",
"alcaeus/mongo-php-adapter": "^1.0.0",
"doctrine/mongodb": "dev-master"
}
or you need to explicitly require ext-mongo yourself in composer.json:
"require": {
"php": "^7.0",
"alcaeus/mongo-php-adapter": "^1.0.0",
"ext-mongo": "*"
}
I'm happy to announce the availability of the first stable release of mongo-php-adapter!
I'm happy to announce the availability of the first stable release of mongo-php-adapter!
This release adds support for MongoCursor::hasNext and fixes bugs with aggregation, findAndModify operations and the Timestamp BSON type.
All issues and pull requests under this release may be found under the 1.0.0 milestone.
Please use the issue tracker to report any issues that you may encounter.
The preferred method of installing this library is with Composer by running the following from your project root:
$ composer require "alcaeus/mongo-php-adapter=^1.0.0"
This package declares that it provides ext-mongo; Composer only allows this replacement to apply if composer.json or a dependency contain a requirement, see composer/composer#2690.
Therefore, you either need to have a dependency on a package which requires ext-mongo, such as doctrine/mongodb, in your project:
"require": {
"php": "^7.0",
"alcaeus/mongo-php-adapter": "^1.0.0",
"doctrine/mongodb": "dev-master"
}
or you need to explicitly require ext-mongo yourself in composer.json:
"require": {
"php": "^7.0",
"alcaeus/mongo-php-adapter": "^1.0.0",
"ext-mongo": "*"
}
Thanks to all contributors to this release:
I'm happy to announce the availability of the first beta release of mongo-php-adapter!
I'm happy to announce the availability of the first beta release of mongo-php-adapter!
This release fixes index handling and several differences from the legacy driver.
All issues and pull requests under this release may be found under the 1.0.0-BETA1 milestone.
Please use the issue tracker to report any issues that you may encounter.
It is recommended to install this package at the root level of your project, not within a library. First, add the following directive to the require section in your composer.json:
"alcaeus/mongo-php-adapter": "^1.0.0@beta"
Due to a limitation in the handling of extensions in composer you must specify the following provide directive in composer.json for your root project:
"provide": {
"ext-mongo": "1.6.12"
}
Nothing published for this version
One column per quarter.