Thin illuminate/database wrapper for the Orchestra microservices framework.

Maintainers

Package info

github.com/orchestraframework/database

pkg:composer/orchestraframework/database

Statistics

Installs: 0

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

0.0.1 2026-06-11 12:38 UTC

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.

database