Practical guides¶
Small Swoole Entity Manager is a PHP ORM for Swoole and OpenSwoole. Its Core package maps PHP objects to relational data and provides query builders and pooled database connections. The optional integrations address different concerns.
What should you install?¶
| Your requirement | Start here |
|---|---|
| Use an ORM directly in a Swoole or OpenSwoole service | Core 3.1 installation |
| Configure the ORM through Symfony services | Symfony bundle |
| Keep a released relational state visible while building the next version | Strates snapshot persistence |
| Validate API input before it reaches an entity | Small Forms integration |
| Inspect and edit mapped PHP entities visually | Entity Schema |
Check package compatibility before installing multiple components. The current Core 3.1 requires PHP 8.4+, while the released Symfony bundle 3.0 currently depends on Core 3.0.*.
Recommended reading¶
- How to choose and configure an ORM for Swoole and OpenSwoole: worker lifecycle, pooling, drivers and transactions.
- Frequently asked questions: direct answers about supported databases, PHP versions, Symfony, validation and snapshot versioning.
- Entity queries and joins: filter, paginate and hydrate entity results.
- Transactions and persistence threads: distinguish flushing from atomic commits.
- Strates architecture and performance: when to build and release immutable snapshots.
Source and license¶
Small Swoole Entity Manager is released under the MIT license. Consult its source repository and Packagist package for the current implementation and installable releases.