dreamfactory/df-database
DreamFactory database service package: adds SQL connectors (MySQL, PostgreSQL, SQL Server, Oracle, SQLite, and more) to the platform, auto-generating REST APIs with schema discovery, CRUD, stored procedures, filtering, and role-based access control.
Positioning. dreamfactory/df-database is not a general-purpose Laravel database library — it is the SQL connector subsystem of the DreamFactory platform. It provides the schema-introspection layer (tables, columns, keys, relationships, stored procedures) plus the service definitions that let DreamFactory auto-generate REST/OpenAPI endpoints over MySQL, PostgreSQL, SQL Server, SQLite, and Oracle. It is a platform module distributed as a Composer package.
Architecture fit.
dreamfactory/df-core service contracts.df-core supplies the service-provider contracts, service-type registry, caching, event dispatch, and RBAC hooks; doctrine/dbal supplies schema introspection. There is no meaningful standalone seam.Integration feasibility.
composer.json: PHP minor version, Laravel major pin, Doctrine DBAL major, and required PDO extensions (including oci8/pdo_oci if Oracle is in scope).Technical risk.
Key questions.
Stack fit.
Migration path. Two options, with a clear recommendation:
Http client with typed DTOs. Keeps platform churn entirely out of the application's dependency graph and gives a clean rollback: delete the sidecar, revert the client.df-database alone will not resolve. Treat this as a separate decision with its own architecture review.Compatibility.
df-database and df-core.config/database.php and migration namespace.Sequencing.
Maintenance.
Support.
Scaling.
Failure modes.
Ramp-up.
Recommendation. Treat df-database as a governed data-access sidecar — most compelling for exposing legacy databases and giving LLM/tool-calling clients mediated, auditable access without handing them credentials — rather than as a Laravel library dependency. The adoption signals (4 stars, 0 dependents, single-vendor maintenance, ambiguous release metadata) justify a time-boxed spike, not a platform commitment. Gate any further investment on the spike plus a completed security review.
How can I help you explore Laravel packages today?