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.
- packagist : https://packagist.org/packages/small/swoole-entity-manager-core
- git : https://git.small-project.dev/lib/small-swoole-entity-manager
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 :
- packagist : https://packagist.org/packages/small/swoole-entity-manager-bundle
- git : https://git.small-project.dev/lib/small-swoole-entity-manager-bundle
Entity schema
The entity schema allow you to design you data model with a GUI and update your entities classes in one click.
Repositories :
- packagist : https://packagist.org/packages/small/entity-schema
- git : https://git.small-project.dev/lib/small-entity-schema
Contribute
You can contribute by cloning repo.
Credits
See copyright notice