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.

Symfony bundle

The symfony bundle integrate Small Swoole Entity Manager to Symfony.

It includes :

  • A friendly yaml configuration
  • A factory service to get entity managers
  • A factory service to get connections objects
  • A command to execute layers to databases

Repositories :

Entity schema

The entity schema allow you to design you data model with a GUI and update your entities classes in one click.

Repositories :

Contribute

You can contribute by cloning repo.

Credits

See copyright notice