Skip to content
Coroutine-ready PHP ORM

Small Swoole Entity Manager

A persistence toolkit designed for long-running Swoole and OpenSwoole applications, with pooled connections, attribute mapping, relational builders and versioned snapshot persistence.

Small Swoole Entity Manager logo

Built for persistent PHP runtimes

Runtime

Coroutine-aware connections

Reuse pooled database connections safely inside long-running Swoole and OpenSwoole workers.

Model

Explicit entity mapping

Describe fields, identifiers, relations and lifecycle behavior with PHP attributes and typed entities.

Persistence

Versioned graph workflows

Combine persistence threads, transactions and Strates 1.0 snapshots to build large relational states safely.

PHP 8.3+ Swoole OpenSwoole MySQL PostgreSQL Symfony

Packages

Foundation

Core ORM

Core 3 entities, managers, relational, scalar and statistics builders, persistence threads, lifecycle hooks, migrations and connection drivers.

Integration

Symfony bundle

The 2.x line integrates Core 3 with Symfony 7.4/8, contract-based factories, worker resets and selector-aware database layers.

Tooling

Entity Schema

Design an entity model graphically, then generate and update ORM classes without discarding custom code.

Version the state, parallelize the build, publish once

Strates separates persistence from visibility so independent transaction items can run concurrently without exposing partial relational data.

Understand the architecture

Project resources

The documentation source is hosted in the public documentation repository. See the project links, credits, legal notices and licence for additional information.