Skip to content

LaravelFreelancerNL/laravel-arangodb

Repository files navigation

Aranguent

Github CI tests Scrutinizer Code Quality Code Coverage Latest Version Total Downloads License

ArangoDB driver for Laravel
The unguent between the ArangoDB and Laravel

The goal is to create a drop-in ArangoDB replacement for Laravel's database, migrations and model handling.

This package is in development; use at your own peril.

Installation

This driver is currently in the v1 beta stage. To install it make sure that the minimum stability is set to beta or lower, and that prefer-stable is set to false in composer.json:

    "minimum-stability": "beta",
    "prefer-stable": false,

You may then use composer to install Aranguent:

composer require laravel-freelancer-nl/aranguent

Version compatibility

Laravel ArangoDB PHP Aranguent
^8.0 and ^9.0 ^3.7 ^8.0 ^0.13
^11.0 ^3.11 ^8.2 ^1.0.0

Documentation

  1. Connect to ArangoDB: set up a connection
  2. Converting from SQL databases to ArangoDB:
  3. Migrations: migration conversion and commands
  4. Eloquent relationships: supported relationships
  5. Query Builder: supported functions
  6. Selecting JSON data: how to select subsets of documents.
  7. ArangoSearch: searching views
  8. Transactions: how to set up ArangoDB transactions
  9. FluentAQL: Use the AQL query builder directly
  10. Testing: testing your project with Aranguent.
  11. Compatibility list: overview of DB related compatible methods.
  12. Secondary database: using ArangoDB as your secondary database.

Related packages