Skip to content

Latest commit

 

History

History
44 lines (31 loc) · 1.93 KB

README.md

File metadata and controls

44 lines (31 loc) · 1.93 KB

pecl/mongodb (MongoDB driver for PHP)

Build Status Coverage Status

The purpose of this driver is to provide a thin glue between MongoDB and PHP, implementing only fundamental and performance-critical components

In the long run, we hope that userland packages will be built atop this driver to implement various APIs (e.g. a BC layer for the existing driver, new fluent interfaces), management utilities (for creating admin utilities and cluster management applications), and other interesting libraries.

The goal is to encourage community contribution and involvement with these components (with a lower barrier of entry) while also keeping the overall design fast and powerful.

Documentation

Installation

To build and install the driver:

$ pecl install mongodb-beta
$ echo "extension=mongodb.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"`

We recommend using this extension in conjunction with our userland library, which is distributed as mongodb/mongodb for Composer.

Contributing

See CONTRIBUTING.md

Related projects