Prelude¶
The Symfony bundle integrates Small Swoole Entity Manager with the Symfony service container and console.
The Core 3-compatible bundle line provides:
- a public
ConnectionFactoryInterfaceservice backed by the Core 3 connection factory; - a public
EntityManagerFactoryInterfaceservice backed by the Core 3 manager factory; - private concrete implementations so applications depend on contracts rather than bundle internals;
- automatic manager-cache reset support for long-running Symfony workers;
- typed bundle configuration for MySQL, PostgreSQL and Small Swoole DB connections;
- explicit database-layer parameters;
- the
swoole:entity-manager:layers:executecommand, including selector-based execution.
Bundle 3.0.0 requires PHP >=8.3, Core 3.0.*, and Symfony components ^7.4 || ^8.0. The package does not declare a PHP upper bound. Consult the compatibility of the complete runtime and its extensions before adopting newer PHP versions.