Skip to content

Prelude

The core package is the framework-independent part of Small Swoole Entity Manager.

It provides:

  • pooled MySQL, PostgreSQL and Small Swoole DB connections;
  • an EntityManagerFactory that creates and caches managers per factory instance;
  • attribute-based entity and relation metadata;
  • select, update and delete query builders;
  • synchronous entity persistence and batched persistence threads;
  • lifecycle callbacks;
  • database layers for ordered schema migrations;
  • entity backup and change detection;
  • form generation through small/forms.

The current core line requires PHP 8.3 or newer. The supplied development setup uses PHP 8.4 and Swoole 6.

Next chapter: Get started