tinvar / database
Tinvar's ORM: models, the identity map, batched lazy loading, tenancy held by row-level security, migrations and the schema builder.
v0.4.10
2026-11-06 03:17 UTC
Requires
- php: >=8.5
- ext-json: *
- nesbot/carbon: ^3.15.1
- tinvar/support: 0.4.*
Requires (Dev)
- amphp/mysql: 3.1.1
- amphp/postgres: 2.2.1
- pestphp/pest: ^5.3
- phpstan/phpstan: ^2.1
Suggests
- ext-pdo: Every connection the ORM makes but the async driver's is a PDO connection.
- ext-pdo_pgsql: PostgreSQL driver, with the row-level security that holds a tenant's rows to it.
- amphp/mysql: Fiber mode's async MySQL driver, AsyncConnection::mysql(): statements from a render's fibers at once.
- amphp/postgres: Fiber mode's async Postgres driver, AsyncConnection::postgres(), with ext-pgsql: statements from a render's fibers at once.
- phpstan/phpstan: Checks the column and relation names in query builder calls against the models (extension.neon).
Provides
None
Conflicts
None
Replaces
None