Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sandrokeil/arangodb-php-driver
A PHP extension for ArangoDB with fuerte and velocypack :rocket:
https://github.com/sandrokeil/arangodb-php-driver
arangodb cpp database driver fuerte nosql php php-extension velocypack vpack
Last synced: about 1 month ago
JSON representation
A PHP extension for ArangoDB with fuerte and velocypack :rocket:
- Host: GitHub
- URL: https://github.com/sandrokeil/arangodb-php-driver
- Owner: sandrokeil
- Archived: true
- Created: 2017-10-13T17:26:00.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-04-15T16:42:14.000Z (over 6 years ago)
- Last Synced: 2024-08-03T20:06:26.804Z (5 months ago)
- Topics: arangodb, cpp, database, driver, fuerte, nosql, php, php-extension, velocypack, vpack
- Language: C++
- Homepage:
- Size: 360 KB
- Stars: 5
- Watchers: 2
- Forks: 1
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-php-extensions - arangodb-php-driver - ArangoDB 客户端 (客户端)
README
# ArangoDB PHP Driver
Native PHP extension for [ArangoDB](https://arangodb.com/).## Development
First install dependencies with
```
$ ./get_fuerte
```and PHP dependencies with
```
$ docker run --rm -it --volume $(pwd):/app prooph/composer:7.1 update
```This extension is build with [PHP-CPP](http://www.php-cpp.com/).
The build is simple with [Docker Compose](https://docs.docker.com/compose/install/).```
$ docker-compose build arangodb-builder
$ docker-compose up -d --no-recreate arangodb
```### Test
```
$ docker-compose run --rm arangodb-builder
$ docker-compose build php
$ docker-compose run --rm php vendor/bin/phpunit
```Cleanup
```
$ docker-compose down -v
```### Debugging
Check which symbols are in `build/libarangodb.so`. See [nm docs](https://linux.die.net/man/1/nm).```
$ nm -g build/libarangodb.so | grep ArangoDb
$ ldd build/libarangodb.so
```### UI
Open [management UI](http://localhost:8529/). You should see one collection
named `testobi`.