Cmd/Ctrl + K

Getting started

Annabel registers database services when database configuration is present.

Configuration

Configure connections in config/database.php and environment values in .env.

SQLite is also supported:

The database package requires ext-pdo and the PDO driver for the selected connection.

Query

Use the database manager to build and execute queries on the default connection.

Transactions

Wrap related writes in a transaction so they commit or roll back together.

Schema and migrations

Create schema changes with migrations:

Migration paths and the migration table are configured in config/database.php.