Skip to content
This repository was archived by the owner on Jun 18, 2020. It is now read-only.

sandrokeil/arangodb-php-driver

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ArangoDB PHP Driver

Native PHP extension for ArangoDB.

Development

First install dependencies with

$ ./get_fuerte

This extension is build with native Zend Engine. The build is simple with Docker Compose.

$ docker-compose build arangodb-builder
$ docker-compose up -d --no-recreate arangodb

Test

$ docker-compose run --rm arangodb-builder
$ docker-compose run --rm arangodb-builder make test
$ docker-compose build php
$ docker-compose run --rm php vendor/bin/phpunit

Cleanup

$ docker-compose down -v
$ docker-compose run --rm arangodb-builder make clean
$ docker-compose run --rm arangodb-builder phpize --clean

Debugging

Check which symbols are in modules/arangodb.so. See nm docs.

$ nm -g modules/arangodb.so | grep arangodb
$ ldd modules/arangodb.so

UI

Open management UI. You should see one collection named testobi.

About

A PHP extension for ArangoDB with fuerte and velocypack 🚀

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •