symfony / ai-doctrine-store
Doctrine ORM bridge for Symfony AI, embedding entities on their own table or mirroring them into any store
Package info
github.com/symfony/ai-doctrine-store
Type:symfony-ai-store
pkg:composer/symfony/ai-doctrine-store
Requires
- php: >=8.2
- doctrine/dbal: ^4.1
- doctrine/orm: ^3.4
- oskarstark/enum-helper: ^1.5
- psr/log: ^3.0
- symfony/ai-platform: ^0.15
- symfony/ai-store: ^0.15
- symfony/http-client-contracts: ^3.5
- symfony/uid: ^7.3|^8.0
Requires (Dev)
- phpstan/phpstan: ^2.1
- phpstan/phpstan-phpunit: ^2.0
- phpstan/phpstan-strict-rules: ^2.0
- phpunit/phpunit: ^11.5.53
- symfony/cache: ^7.3|^8.0
- symfony/doctrine-bridge: ^7.3|^8.0
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-10-26 01:31:37 UTC
README
Keeps vectors in a field of a Doctrine entity and returns entities when queried, for Symfony AI Store. Supports PostgreSQL with pgvector, MariaDB 11.7 or newer and SQLite with sqlite-vec. For a database without vector support, it mirrors the entities into any other store.
See the Doctrine store documentation for the entity mapping, the column setup, embedding entities and mirroring them.
Doctrine Store Documentation
- Doctrine ORM custom mapping types
- Doctrine ORM events (onFlush)
- Doctrine ORM user-defined DQL functions
- pgvector (operators, HNSW indexes, operator classes)
- MariaDB vector overview (VECTOR type, VEC_* functions, vector indexes)
- sqlite-vec (distance functions)