No Description

Andreas Braun 885f699530 Merge branch 'implement-mongo-client' 10 years ago
lib 06aa04be6a Throw a bunch of exceptions in Mongo class 10 years ago
tests 36e6897451 Report correct state in getHosts() 10 years ago
.gitignore 85dc9c9ce4 Ignore dev scripts 10 years ago
.scrutinizer.yml 90673de964 Upload code coverage to scrutinizer 10 years ago
.travis.yml 90673de964 Upload code coverage to scrutinizer 10 years ago
LICENSE bc2142e977 Update license information 10 years ago
README.md 06aa04be6a Throw a bunch of exceptions in Mongo class 10 years ago
composer.json ce1f48fc49 Only replace specific mongodb driver version 10 years ago
phpunit.xml.dist ab26669a10 Initial commit 10 years ago

README.md

Mongo PHP Adapter

The Mongo PHP Adapter is a userland library designed to act as an adapter between applications relying on ext-mongo and the new driver (ext-mongodb).

It provides the API of ext-mongo built on top of mongo-php-library, thus being compatible with PHP7.

Stability

This library is not yet stable enough to be used in production. Use at your own risk.

Installation

This library requires you to have the mongodb extension installed and conflicts with the legacy mongo extension.

The preferred method of installing this library is with Composer by running the following from your project root:

$ composer require "alcaeus/mongo-php-adapter=dev-master"

Known issues

  • The Mongo class is deprecated and was not implemented in this library. If you are still using it please update your code to use the new classes.