Operations and testing
Deployment setup
Run the schema manager from a deployment step:
$schema = new MySqlSchemaManager($pdo);
$schema->ensureSchema();
describeSchema() reports the tables the manager creates. dropSchema() drops
those tables in reverse dependency order and is intended for explicit teardown,
not routine application startup.
Local MySQL
The adapter repository includes a Docker Compose setup for MySQL 8:
docker compose up -d
composer install
composer test-all
The tests cover transactions, rollback behavior, duplicate-version translation, global positions, snapshots, process-manager state, projections, custom fields, outbox enrollment, and crypto-shredding through the Core interfaces.
Quality checks
composer quality
This runs Composer validation, coding-style checks, PHPStan, the complete test suite with coverage enforcement, and Composer audit.