waaseyaa / entity-storage
Pluggable entity persistence. v0.1.0: SQL storage behind clean interfaces.
v0.1.0-alpha.256
2026-07-06 21:24 UTC
Requires
- php: >=8.5
- symfony/event-dispatcher: ^7.0
- waaseyaa/access: ^0.1.0-alpha.256
- waaseyaa/cache: ^0.1.0-alpha.256
- waaseyaa/config: ^0.1.0-alpha.256
- waaseyaa/database-legacy: ^0.1.0-alpha.256
- waaseyaa/entity: ^0.1.0-alpha.256
- waaseyaa/field: ^0.1.0-alpha.256
- waaseyaa/foundation: ^0.1.0-alpha.256
- waaseyaa/i18n: ^0.1.0-alpha.256
Requires (Dev)
- phpunit/phpunit: ^10.5
This package is auto-updated.
Last update: 2026-07-06 21:32:24 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.