Symfony integration · Core 3
Symfony bundle documentation
Configure Small Swoole Entity Manager Core 3 through Symfony, inject stable factory contracts, reset cached managers in long-running workers and execute database layers safely from the console.
Prelude
Bundle architecture
Review the Core 3-compatible v2 service and dependency model.
Chapter 1 Get startedInstall the 2.x line and configure validated database connections.
Chapter 2 Instantiate managersInject the manager factory and handle cache reset boundaries.
Chapter 3 Connection factoryInject the connection factory and execute Core-native statements when needed.
Chapter 4 Database layersExpose explicit layer parameters and execute all or one selector.
Upgrade Upgrade to bundle v2Review dependency, DI, worker-reset and layer-execution changes.