2017 © Pedro Peláez
 

library arangodb-php-core

ArangoDB-PHP-Core is a low level PHP Client for the ArangoDB Database

image

frankmayer/arangodb-php-core

ArangoDB-PHP-Core is a low level PHP Client for the ArangoDB Database

  • Sunday, February 26, 2017
  • by frankmayer
  • Repository
  • 7 Watchers
  • 5 Stars
  • 95 Installations
  • PHP
  • 2 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

ArangoDB-PHP-Core

A lightweight, and at the same time flexible "very"-low-level ArangoDB client for PHP., (*1)

Join the chat at https://gitter.im/frankmayer/ArangoDB-PHP-Core, (*2)

Master: Build Status Devel: Build Status, (*3)

Coverage Status Hex.pm, (*4)

Purpose:

The core client should serve as a flexible low level base for higher level client implementations (AR,ODM,OGM) to be built on top of it., (*5)

At this experimental stage, it does provide some abstraction of ArangoDB's API. It's still not quite clear if the api abstraction will in the end result in a different package or stay in the Core. The client should generally be seen as a basis that takes away the boilerplate code of setting up requests and managing responses (headers, statuses, etc...) with ArangoDB., (*6)

Highlights:

  • Request / Response Objects
  • A wrapper around injectable connectors. Two packages are already available: https://github.com/frankmayer/ArangoDB-PHP-Core-Curl and https://github.com/frankmayer/ArangoDB-PHP-Core-Guzzle
  • Flexibility through dependency injection:
    • Inject your own connector, Request or Response Objects
      • directly
      • via configuration resolution
      • via the client class's own simple IOC container
  • Register your plugins (for example a trace plugin)
  • Extend the core's functionality through traits (This is still in the makings)
  • supports ArangoDB's Async and Batch functionality
  • provides a toolbox for handling everything around communication with an ArangoDB server, such as url-, parameter- and header-building tools.
  • Includes a few test classes that provide basic testing functionality against the server and also a bit of insight on how to build a client on top of the core.

PHP Versions:

Tested and Supported with PHP 7.0+ & HHVM 3.15.0+ (but will most probably work from HHVM 3.11.0 onwards), (*7)

Caution:

This project is at the moment in a highly experimental phase. The API is not yet stable and there most probably will be significant changes to it., (*8)

So, it's not recommended to build anything critical on top of it yet. ;) But... stay tuned..., (*9)

Contributing

As the project is still in a highly experimental state, it's not yet open to pull requests. But I'd love to see contributions after the initial experimental phase is over. :) I'll let you know via this readme and my Twitter-feed: https://twitter.com/frankmayer_ Thanks !!, (*10)

Major Todo's:
  • [ ] stabilize contracts for interoperability
  • [ ] stabilize plugin API
  • [x] implement ArangoDB authentication
  • [ ] implement basic tracer plugin
  • [x] provide docs
License:

Apache V2 => see LICENSE.md file, (*11)

The Versions

26/02 2017

dev-devel

dev-devel https://github.com/frankmayer/ArangoDB-PHP-Core

ArangoDB-PHP-Core is a low level PHP Client for the ArangoDB Database

  Sources   Download

Apache-2.0

The Requires

  • lib-curl *
  • php >=7.0.0

 

The Development Requires

database php nosql graph arangodb document store

13/02 2017

dev-master

9999999-dev https://github.com/frankmayer/ArangoDB-PHP-Core

ArangoDB-PHP-Core is a low level PHP Client for the ArangoDB Database

  Sources   Download

Apache-2.0

The Requires

  • lib-curl *
  • php >=7.0.0

 

The Development Requires

database php nosql graph arangodb document store