arangodb-php-client

ArangoDB PHP PSR 7/17/18 client implementation with transaction and batch support.

OTHER License

Downloads
19
Stars
6

arangodb-php-client

ArangoDB HTTP client implementation with PHP PSR 7 / 17 / 18 support.

  • Well tested. Besides unit test and continuous integration/inspection this solution is also ready for production use.
  • Framework agnostic This PHP library does not depends on any framework but you can use it with your favourite framework.
  • Every change is tracked. Want to know whats new? Take a look at CHANGELOG.md
  • Listen to your ideas. Have a great idea? Bring your tested pull request or open a new issue.

Requirements

  • PHP >= 7.2
  • ArangoDB server version >= 3.4

Examples

Examples of how to create collections or documents and more are provided in the example directory.

Tests

If you want to run the unit tests locally you need Docker and Docker Compose.

Install dependencies with:

$ docker run --rm -i -v $(pwd):/app prooph/composer:7.4 update -o

Copy docker-compose.yml.dist to docker-compose.yml and modify to your needs.

Start containers with

$ docker-compose up -d --no-recreate

Execute tests with

$ docker-compose run --rm php vendor/bin/phpunit
Package Rankings
Top 25.82% on Packagist.org
Badges
Extracted from project README
Coverage Status Scrutinizer Code Quality
Related Projects