orchestraframework / database
Thin illuminate/database wrapper for the Orchestra microservices framework.
0.0.1
2026-06-11 12:38 UTC
Requires
- php: ^8.3
- illuminate/database: ^12.0
- orchestraframework/framework: ^0.1
This package is not auto-updated.
Last update: 2026-06-11 22:16:58 UTC
README
Database integration for the Orchestra Framework. Thin wrapper over illuminate/database — multi-connection query builder, transactions, slow-query logging — plus an attribute-driven schema layer that turns your typed PHP models into a live database schema (db:sync).
Install
composer require orchestraframework/database
Add the provider to config/app.php:
'providers' => [ \Orchestra\Database\DatabaseServiceProvider::class, ],
Configure
See config/database.php and docs/27-database.md.
CLI
orchestra db:status # probe connections orchestra db:sync # apply model schema orchestra db:sync --force # apply, including column drops orchestra db:diff # show pending changes (dry-run) orchestra make:model Users/User
License
MIT.