waaseyaa / entity-storage
Pluggable entity persistence. v0.1.0: SQL storage behind clean interfaces.
v0.1.0-alpha.7
2026-03-15 03:34 UTC
Requires
- php: >=8.3
- symfony/event-dispatcher: ^7.3
- waaseyaa/cache: ^0.1
- waaseyaa/database-legacy: ^0.1
- waaseyaa/entity: ^0.1
- waaseyaa/field: ^0.1
Requires (Dev)
- phpunit/phpunit: ^10.5
This package is auto-updated.
Last update: 2026-03-15 16:00:42 UTC
README
Layer 1 — Core Data
SQL and in-memory entity storage for Waaseyaa applications.
SqlEntityStorage persists entities to a relational database using a _data JSON blob for non-schema columns. SqlSchemaHandler generates and synchronizes column definitions. InMemoryEntityStorage (in waaseyaa/api/tests/Fixtures/) provides a fast in-memory store for unit tests. Entity values are split on write and merged on read via splitForStorage() / mapRowToEntity().
Key classes: SqlEntityStorage, SqlSchemaHandler, EntityStorageInterface.