Skip to content

Initial development release!

Pre-release
Pre-release
Compare
Choose a tag to compare
@bjori bjori released this 26 Nov 00:47

This is the first release of the highly experimental MongoDB Driver for PHP: phongo.

It is in no way recommended for production use at this time.

The idea of this driver is to be sleek MongoDB binding, offering minimal functionality, and leave it up to frameworks, libraries, toolkits and applications to provide pretty and intuitive wrappers. It is built on top of libmongoc and libbson, so the driver can focus on just what it needs: providing a familiar experience to the user.

The hope is this will result in even better performance than the current PHP driver, while still providing an intuitive interface to work with. The net effect will be reduced maintenance and faster turnaround.

In the near future we hope to provide "ODM" style bindings for converting a model class into a document and vice versa, seamlessly.

See PHP-1066 for the current TODO list.

Let us know what you think!

To install the driver:

$ wget https://github.com/bjori/phongo/releases/download/0.1.0/phongo-0.1.0.tgz
$ pecl install phongo-0.1.0.tgz
$ echo "extension=phongo.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"`
$ php --re phongo | less