Skip to content

Releases: LaravelFreelancerNL/arangodb-php-client

2.3.0

19 Dec 08:55
3b19d62
Compare
Choose a tag to compare

Added analyzer endpoint support.

2.2.0

29 Jun 12:41
daff69c
Compare
Choose a tag to compare

Added createEdgeCollection method on the schema manager.

2.1.0

05 Feb 19:06
Compare
Choose a tag to compare

Updated jsonmachine dependency to 1.0

2.0.1

22 Dec 12:51
Compare
Choose a tag to compare

Static analysis fix for return type of prepare method.

2.0.0

27 Apr 06:45
b42a44d
Compare
Choose a tag to compare

Response objects instead of associative arrays

The biggest change is the decoding of responses. JSON objects are now decoded to POPO's (Plain Old Php Objects).
This will influence how you use the response. Together with the improvements in php 8 this makes the result data much
nicer to work with compared to associative arrays.

This client is just a conduit, so it doesn't make any presumptions on the returned data itself, hence the the objects
are of the stdClass type.

PHP 8

PHP 8.0 is now the minimum supported version. You will need to run your app with this version
and ensure that other packages support it.

If you need to use PHP 7.4 you can use the maintenance branch 1.x

Schema function result data

Some schema functions just returned a boolean to indicate success or failure. These now match
the returned result by ArangoDB.

1.1.0

26 Apr 10:27
5405f83
Compare
Choose a tag to compare

Added support for named Graph management.

1.0.0

06 Apr 15:48
5405f83
Compare
Choose a tag to compare

ArangoDB PHP client.

Connect to ArangoDB and perform schema actions or execute queries. ee the docs for a full list of currently supported actions.

Added HTTP/2 support and several schema and statement methods

30 Mar 11:51
Compare
Choose a tag to compare

Added HTTP/2 support.
Set 'version' config to 2 to enable it.

truncateCollection
You can now call truncateCollection on the schema handler.

$arangoClient->schema()->truncateCollection('users');

getCollectionDocumentCount
Returns the number of documents in a collection.

$arangoClient->schema()->getCollectionDocumentCount('users');

getWritesExecuted
You can now retrieve the number of affected documents after an executed insert/update/delete statement.

$statement->getWritesExecuted();

Alpha pre-release

28 Mar 20:09
Compare
Choose a tag to compare
Alpha pre-release Pre-release
Pre-release

Low-level PHP client for ArangoDB.

Supports the following features of ArangoDB's HTTP REST API.

  • Schema functions for databases, database users, collections, indexes and views.
  • AQL cursor statements
  • Transactions.