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.
You may use composer to install Aranguent:
composer require laravel-freelancer-nl/aranguent
While this driver is in the beta stage, changes are you will get a type error upon installation.
composer.json will probably not list a specific version:
"laravel-freelancer-nl/aranguent": "*"
If so, either set the minimum-stability level to 'dev' or install the latest version:
composer require laravel-freelancer-nl/aranguent:v1.0.0-beta.8 laravel-freelancer-nl/fluentaql:2.1.1
This updates the package to the latest beta, and properly installs the fluentaql package as well.
Laravel | ArangoDB | PHP | Aranguent |
---|---|---|---|
^8.0 and ^9.0 | ^3.7 | ^8.0 | ^0.13 |
^11.0 | ^3.11 | ^8.2 | ^1.0.0 |
- Connect to ArangoDB: set up a connection
- Converting from SQL databases to ArangoDB:
- Migrations: migration conversion and commands
- Eloquent relationships: supported relationships
- Query Builder: supported functions
- Selecting JSON data: how to select subsets of documents.
- ArangoSearch: searching views
- Transactions: how to set up ArangoDB transactions
- FluentAQL: Use the AQL query builder directly
- Testing: testing your project with Aranguent.
- Compatibility list: overview of DB related compatible methods.
- Secondary database: using ArangoDB as your secondary database.