Skip to content

bjori/mongo-php-library-prototype

 
 

Repository files navigation

phongo libraries

MongoDB CRUD interface for PHongo.

This interface is meant for the general public to use with PHongo, and will serve as the default reference interface when creating other bindings.

Documentation

Installation

As PHongo libraries is an abstraction layer for PHongo, it naturally requires PHongo to be installed:

$ wget https://github.com/10gen-labs/mongo-php-driver-prototype/releases/download/0.1.5/phongo-0.1.5.tgz
$ pecl install phongo-0.1.5.tgz
$ echo "extension=phongo.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"`

The best way to then install PHongo libraries is via composer by adding the following to composer.json:

    "repositories": [
        {
	    "type": "vcs",
	    "url": "https://github.com/10gen-labs/mongo-php-libraries-prototype"
        }
    ],
    "require": {
        "ext-phongo": ">=0.1.5",
        "10gen-labs/mongo-php-libraries-prototype": "dev-master"
    }

and then running

$ composer install

Reporting tickets

About

MongoDB CRUD interface for PHongo

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 96.5%
  • Makefile 3.5%