Skip to content
This repository has been archived by the owner on Mar 16, 2024. It is now read-only.

jackalope/jackalope-mongodb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jackalope Build Status

A powerful implementation of the PHPCR API.

Jackalope binding for MongoDB. Still under heavy development. Not yet production ready!

Check here to see which parts of the PHPCR API test suite are disabled.

Discuss on [email protected] or visit #jackalope on irc.freenode.net

License: This code is licenced under the apache license. Please see the file LICENSE in this folder.

Preconditions

  • php >= 5.3
  • phpunit >= 3.6 (if you want to run the tests)
  • composer

Installation

If you do not yet have composer, install it like this

curl -s http://getcomposer.org/installer | sudo php -- --install-dir=/usr/local/bin

To install jackalope itselves, run the following in the parent directory of where you want jackalope

git clone git://github.com/jackalope/jackalope-mongodb.git
cd jackalope-mongodb
php /usr/local/bin/composer.phar install --dev

Note that the --dev parameter is only needed if you want to be able to run the test suite. If you already installed jackalope without the test suite, you need to remove composer.lock before running composer again with the --dev parameter.

phpunit Tests

If you want to run the tests , please see the README file in the tests folder and check if you told composer to install the suggested dependencies (see Installation)

Bootstrapping

Jackalope relies on autoloading. Namespaces and folders are compliant with PSR-0. You should use the autoload file generated by composer: vendor/.composer/autoload.php

If you want to integrate jackalope into other PSR-0 compliant code and use your own classloader, find the mapping in vendor/.composer/autoload_namespaces.php

Before you can use jackalope with a database, you need to set up the database.

About

MongoDB transport implementation for Jackalope

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages