https://github.com/eosnewmedia/arango-db-3-connector-bundle
Symfony integration for eos/arango-db-3-connector
https://github.com/eosnewmedia/arango-db-3-connector-bundle
Last synced: 3 months ago
JSON representation
Symfony integration for eos/arango-db-3-connector
- Host: GitHub
- URL: https://github.com/eosnewmedia/arango-db-3-connector-bundle
- Owner: eosnewmedia
- License: mit
- Created: 2019-03-11T18:12:30.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-02-02T09:56:34.000Z (over 2 years ago)
- Last Synced: 2025-06-30T18:24:10.919Z (3 months ago)
- Language: PHP
- Size: 30.3 KB
- Stars: 0
- Watchers: 4
- Forks: 2
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
eos/arango-db-3-connector-bundle
=================================
Symfony integration for [eos/arango-db-3-connector](https://github.com/eosnewmedia/ArangoDB-3-Connector).# Installation
```bash
composer req eos/arango-db-3-connector-bundle
```# Configuration
```yaml
eos_arango_db_connector:
servers: ['http://127.0.0.1:8529']
user: 'root'
password: null
database: 'your_database'
collections:
your_collection:
type: 'document' # document|edge
wait_for_sync: false # false is the default
indices:
your_index:
type: 'hash'
fields: ['id']
options:
unique: true
```# Commands
These commands are available:- `eos:arango-db:database:create`
- `eos:arango-db:database:remove`
- `eos:arango-db:collections:create`
- `eos:arango-db:collections:remove`# Service
The database is available for autowiring with the service id `Eos\ArangoDBConnector\ArangoDBInterface`.