GithubHelp home page GithubHelp logo

ozzie00 / mongo-php-driver Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mongodb/mongo-php-driver-legacy

1.0 3.0 0.0 4.5 MB

Officially supported PHP driver for MongoDB

Home Page: http://www.mongodb.org/display/DOCS/PHP+Language+Center

mongo-php-driver's Introduction

Installation

To install:

phpize
./configure
make
sudo make install

Then add

extension=mongo.so

to your php.ini file.

Documentation

See the PHP manual.

Testing

The tests are not available as part of the PECL package, but they are available on Github.
They use [PHPUnit](from http://www.phpunit.de). To run the tests:

$ phpunit tests/MongoSuite.php

There must be a mongod instance running on port 27017 in order to run the tests. They also assume that php.ini sets error_reporting to E_STRICT | E_ALL.

The tests will spit out a bunch of warnings if you do not have mongo-php-driver/php on your include path, but it will just skip the tests that require that.

The tests will also attempt to create an admin user using the shell. If mongo is not on your path, you will get some output complaining about it but those tests will just be skipped.

Credits

Jon Moss

  • Came up with the idea and implemented MongoCursor implementing Iterator

Pierre-Alain Joye

  • Helped build the Windows extension and has provided the VC6 builds

Cesar Rodas

  • Created the MongoCursor::info method
  • Implemented GridFS read streaming

William Volkman

  • Made connection code check & handle error status

Derick Rethans

  • Implemented MongoInt32, MongoInt64 and related php.ini options.

mongo-php-driver's People

Contributors

kchodorow avatar derickr avatar crodas avatar erh avatar ad7six avatar crumbjp avatar wanderr avatar mattparlane avatar treshugart avatar zakay avatar

Stargazers

Oz avatar

Watchers

Oz avatar James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.