sandrokeil / arangodb-php-client
ArangoDB Core Client
0.3.1
2020-07-14 14:55 UTC
Requires
- php: ^7.2
- ext-json: *
- fig/http-message-util: ^1.1.2
- psr/http-client: ^1.0
- psr/http-factory: ^1.0
- psr/http-message: ^1.0
Requires (Dev)
- infection/infection: ^0.16.3 || ^0.15.3
- laminas/laminas-diactoros: ^2.3.0
- malukenho/docheader: ^0.1.8
- php-coveralls/php-coveralls: ^2.1
- phpstan/phpstan: ^0.12.29
- phpstan/phpstan-strict-rules: ^0.12.2
- phpunit/phpunit: ^9.2.3 || ^8.5
- roave/security-advisories: dev-master
- squizlabs/php_codesniffer: ^3.5.5
This package is auto-updated.
Last update: 2024-12-19 19:43:42 UTC
README
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