PHPackages                             laravel-freelancer-nl/arangodb-php-client - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. laravel-freelancer-nl/arangodb-php-client

AbandonedArchivedLibrary[Database &amp; ORM](/categories/database)

laravel-freelancer-nl/arangodb-php-client
=========================================

Low level PHP client for ArangoDB

v2.8.0(1y ago)1416.7k↓67.2%[2 issues](https://github.com/LaravelFreelancerNL/arangodb-php-client/issues)[4 PRs](https://github.com/LaravelFreelancerNL/arangodb-php-client/pulls)1MITPHPPHP ^8.1CI passing

Since Mar 28Pushed 3mo ago3 watchersCompare

[ Source](https://github.com/LaravelFreelancerNL/arangodb-php-client)[ Packagist](https://packagist.org/packages/laravel-freelancer-nl/arangodb-php-client)[ GitHub Sponsors](https://github.com/LaravelFreelancerNL)[ RSS](/packages/laravel-freelancer-nl-arangodb-php-client/feed)WikiDiscussions next Synced 3d ago

READMEChangelog (10)Dependencies (11)Versions (21)Used By (1)

ArangoClient - ArangoDB PHP client
==================================

[](#arangoclient---arangodb-php-client)

Low level PHP client for ArangoDB. Supports PHP ^8.0.

[![Github CI tests](https://github.com/LaravelFreelancerNL/arangodb-php-client/workflows/CI%20tests/badge.svg)](https://github.com/LaravelFreelancerNL/arangodb-php-client/workflows/CI%20tests/badge.svg)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/e4f403a3ffe068aa40fe68334def0d039c23b703de3c29b4fd945045d6bfd1ad/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f4c61726176656c467265656c616e6365724e4c2f6172616e676f64622d7068702d636c69656e742f6261646765732f7175616c6974792d73636f72652e706e673f623d6e657874)](https://scrutinizer-ci.com/g/LaravelFreelancerNL/arangodb-php-client/?branch=next)[![Code Coverage](https://camo.githubusercontent.com/f27b9ece92697d8f76bdf79ccfdd72b12094011b9671f6459ad83a85d74943a1/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f4c61726176656c467265656c616e6365724e4c2f6172616e676f64622d7068702d636c69656e742f6261646765732f636f7665726167652e706e673f623d6e657874)](https://scrutinizer-ci.com/g/LaravelFreelancerNL/arangodb-php-client/?branch=next)[![Latest Version](https://camo.githubusercontent.com/8b0d82930f643c1d17d86de78544ccc1e8a8015ab3842008ffc2cf009b920df5/68747470733a2f2f706f7365722e707567782e6f72672f6c61726176656c2d667265656c616e6365722d6e6c2f6172616e676f64622d7068702d636c69656e742f762f737461626c65)](https://packagist.org/packages/laravel-freelancer-nl/arangodb-php-client)[![Total Downloads](https://camo.githubusercontent.com/e14de87dffc5c1a4a735e49fb360ba9b532a13e6932cdf7c62f5e6d85dd6730d/68747470733a2f2f706f7365722e707567782e6f72672f6c61726176656c2d667265656c616e6365722d6e6c2f6172616e676f64622d7068702d636c69656e742f646f776e6c6f616473)](https://packagist.org/packages/laravel-freelancer-nl/arangodb-php-client)[![License](https://camo.githubusercontent.com/83b59092e732f8d4ce5a71de332d6c1a188cb01068bee13ae3334f993309cbf1/68747470733a2f2f706f7365722e707567782e6f72672f6c61726176656c2d667265656c616e6365722d6e6c2f6172616e676f64622d7068702d636c69656e742f6c6963656e7365)](https://packagist.org/packages/laravel-freelancer-nl/arangodb-php-client)

---

I’m archiving my ArangoDB PHP/Laravel packages
==============================================

[](#im-archiving-my-arangodb-phplaravel-packages)

Due to the license changes ArangoDB introduced last year, it no longer makes sense for me to continue using the product or to invest further time in developing, maintaining, and improving these packages.

While building and running side projects is in many ways easier and more affordable than ever, the new license creates a significant barrier for my own projects.

I’ve genuinely enjoyed working with ArangoDB, and I still believe it is an excellent product. However, under the current licensing model, I can no longer justify the time required to support these packages. Time is my most limited resource, and I need to allocate it where it makes sense professionally.

As a result, I am archiving the following packages:

- The Laravel driver:
- The PHP client:
- The AQL query builder:

If there is interest in continuing their development, you are welcome to fork them and maintain your own versions. Alternatively, if you would like to sponsor or hire me to continue maintaining them, please feel free to get in touch.

Thank you to everyone who has used, supported, or contributed to these packages.

So long, and thanks for all the fish.

Bas
Laravel Freelancer NL
-------------------------

[](#baslaravel-freelancer-nl)

This client is a conduit to ArangoDB and back, so it doesn't make any presumptions on the returned data itself. JSON objects are decoded to POPO's. You can cast those to what you need in your ODM or project.

Install
-------

[](#install)

```
composer require laravel-freelancer-nl/arangodb-php-client

```

Quickstart
----------

[](#quickstart)

### Create a new client

[](#create-a-new-client)

```
$client = new ArangoClient($config);

```

### Create a collection

[](#create-a-collection)

Use the schemaManager to create a new collection.

```
$client->schema()->createCollection('users');

```

### Get documents from the collection

[](#get-documents-from-the-collection)

```
$statement = $client->prepare('FOR user in Users RETURN user');
$statement->execute();
$users = $statement->fetchAll();

```

As there are no users yet in the above example this will yield an empty result. Note that this client does not have any preconceptions about the data structure and thus everything is returned as raw arrays.

### config

[](#config)

The connector has a default configuration for a local ArangoDB instance at it's default port (8529).

AQL statements
--------------

[](#aql-statements)

To run AQL queries you prepare a query, execute it and fetch the results. Much like PHP's PDO extension.

```
$statement = $client->prepare('FOR user in users RETURN user');
$statement->execute();
$users = $statement->fetchAll();

```

Alternatively you can traverse over the statement itself to get the results one at a time.

```
$statement = $client->prepare('FOR user in users RETURN user');
$statement->execute();
foreach ($statement as $document) {
    //
}

```

Managers
--------

[](#managers)

You have access to several managers that allow you to perform specific tasks on your ArangoDB instance(s). Their functions can be called on the manager.

### Admin manager

[](#admin-manager)

The admin manager manages administrative functions and information retrieval for the server/cluster.

```
$client->admin()->version();

```

### Monitor manager

[](#monitor-manager)

The monitor manager manages monitoring functions the server/cluster.

```
$client->monitor()->getMetrics();

```

### Schema manager

[](#schema-manager)

The schema manager manages all schema related operations.

```
$client->schema()->createDatabase('new_db');

```

### Transaction manager

[](#transaction-manager)

The transaction manager takes care of all transactions.

```
$client->transactions()->begin(['write' => ['users', 'teams']]);

```

Documentation
-------------

[](#documentation)

1. [ArangoDB PHP client](docs/arangodb-client.md)
2. [AQL query statements](docs/statements.md)
3. [Admin manager](docs/admin-manager.md)
4. [Monitor manager](docs/monitor-manager.md)
5. Schema manager
    1. [Database schema](docs/schema-databases.md)
    2. [User schema](docs/schema-users.md)
    3. [Collection schema](docs/schema-collections.md)
    4. [Index schema](docs/schema-indexes.md)
    5. [Graph schema](docs/schema-graphs.md)
    6. [View schema](docs/schema-views.md)
    7. [Analyzer schema](docs/schema-analyzers.md)
6. [Transaction manager](docs/transaction-manager.md)

Related packages
----------------

[](#related-packages)

- [AQL query builder](https://github.com/LaravelFreelancerNL/fluentaql)
- [ArangoDB Laravel Driver](https://github.com/LaravelFreelancerNL/laravel-arangodb)

###  Health Score

48

—

FairBetter than 93% of packages

Maintenance60

Regular maintenance activity

Popularity32

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity71

Established project with proven stability

 Bus Factor1

Top contributor holds 77.1% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~91 days

Recently: every ~18 days

Total

16

Last Release

560d ago

Major Versions

1.x-dev → 2.0.02021-04-27

PHP version history (3 changes)1.0.0-alphaPHP ^7.4|^8.0

2.0.0PHP ^8.0

2.3.0PHP ^8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/43ec692d94f43c644568ad6ea2245e907f5deb7cc713322711069976f707c632?d=identicon)[LaravelFreelancerNL](/maintainers/LaravelFreelancerNL)

---

Top Contributors

[![LaravelFreelancerNL](https://avatars.githubusercontent.com/u/36150929?v=4)](https://github.com/LaravelFreelancerNL "LaravelFreelancerNL (74 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (15 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (7 commits)")

---

Tags

arangodbarangodb-clientarangodb-driverdatabase-clientdatabase-connectordatabase-driverdatabase-managementnosqlphpphp8phpclientArangoDb

###  Code Quality

TestsPest

Static AnalysisPHPStan, Rector

Code StyleLaravel Pint

Type Coverage Yes

### Embed Badge

![Health badge](/badges/laravel-freelancer-nl-arangodb-php-client/health.svg)

```
[![Health](https://phpackages.com/badges/laravel-freelancer-nl-arangodb-php-client/health.svg)](https://phpackages.com/packages/laravel-freelancer-nl-arangodb-php-client)
```

###  Alternatives

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.3k543.5M2.6k](/packages/aws-aws-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k38](/packages/neuron-core-neuron-ai)[leantime/leantime

Open source project management system for non-project managers. Simple like Trello, powerful like Jira. Built with neurodiversity in mind.

10.2k3.5k](/packages/leantime-leantime)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M46](/packages/tencentcloud-tencentcloud-sdk-php)[resend/resend-php

Resend PHP library.

617.2M43](/packages/resend-resend-php)[seatsio/seatsio-php

A PHP client for the seats.io API

17793.2k](/packages/seatsio-seatsio-php)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
