Skip to content

Small Swoole Entity Manager

Small Swoole Entity Manager is a PHP ORM designed for Swoole and OpenSwoole.

Precisely, it is designed for :

  • Async requests by implementing pool management
  • Long time processes by managing memory to avoid memory leaks and long time storage like caching

It supports for now connections with :

  • Mysql databases
  • Postgres databases
  • Small Swoole Db "in memory" relational database based on Swoole tables

Packages

Core package

The core package is the base package of Small Swoole Entity Manager.

It is framework free dependency, then can be used for your "from scratch" projects.

It include :

  • Connections management with factory
  • Entity manager factory
  • Relational query builder support
  • Pool management is provided by Small Swoole Patterns.

Collection classes is provided by Small Collection.

It use Small Swoole Db to manage "in memory" databases.

The Mysql and Postgres connections pools are managed via Small Swoole Patterns.

Contribute

You can contribute by cloning repo.

Credits

See copyright notice