PHPackages                             datachore/datachore - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. datachore/datachore

ActiveLibrary[Database &amp; ORM](/categories/database)

datachore/datachore
===================

Datachore is a Query Builder and ORM for Google Appengine's Datastore

0.2.7(10y ago)15941[2 issues](https://github.com/pwhelan/datachore/issues)MITPHPPHP &gt;=5.4.0

Since Sep 15Pushed 10y ago4 watchersCompare

[ Source](https://github.com/pwhelan/datachore)[ Packagist](https://packagist.org/packages/datachore/datachore)[ Docs](http://pwhelan.github.io)[ RSS](/packages/datachore-datachore/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (5)Versions (16)Used By (0)

Datachore: Google AppEngine Datastore ODM library
=================================================

[](#datachore-google-appengine-datastore-odm-library)

[![Build Status](https://camo.githubusercontent.com/522b519308ad303cbf9ca410a93e26e039e5f8347039aecc41e96ae610412ebf/68747470733a2f2f7472617669732d63692e6f72672f707768656c616e2f6461746163686f72652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/pwhelan/datachore)[![CoverageStatus](https://camo.githubusercontent.com/12e15945b9aa120a09f6cde405ed534d7ea5c28acbebe6647c6768333b10a9d6/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f707768656c616e2f6461746163686f72652f62616467652e706e673f6272616e63683d6d6173746572)](https://coveralls.io/r/pwhelan/datachore?branch=master)

ODM library for Google Datastore. This library has the advantage of supporting the protocol via the SDK and uses the local instance either locally or on the Appengine servers.

This makes this library much faster than libraries accessing the Datastore via the Google API and also makes local development dead easy.

Features
--------

[](#features)

- Auto Indexer: automatically creates an index.yaml file for GAE.
- Direct Access to the API: uses the remote api proxy, just like the python environment to assure the fastest access and lowest latency.

Requirements
------------

[](#requirements)

- AppEngine SDK 1.9.10+
- Optional but Recommended: Composer

Installing
----------

[](#installing)

The easiest way to work with Datachore is installing it via composer. This works just as well with Google App Engine if you check out your dependencies locally then deploy your code.

If you're not familiar with Composer, please see .

1. Add the following to your composer.json file.

```
{
    "require": {
        "datachore/datachore": "dev-master"
    },
}
```

It is preferable to use a specific version, ie: 0.1.0 over dev-master. Minor versions will contain major changes, at least under the hood, until version 1.0.0.

2. Run `composer install`.

This pulls in a local copy of datachore into the vendor sub directory for you.

3. Include Composer's autoload file.

```
