sandrokeil/arangodb-php-client

0.3.1 2020-07-14 14:55 UTC

This package is auto-updated.

Last update: 2024-10-19 19:17:27 UTC


README

Build Status Coverage Status Scrutinizer Code Quality Latest Stable Version Total Downloads License

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