Skip to content
README.md 2.01 KiB
Newer Older
seb's avatar
seb committed
<img src="https://git.small-project.dev/lib/small-swoole-entity-manager/-/raw/master/img/logo/logo-800x345.png">
seb's avatar
seb committed

seb's avatar
seb committed
# Small Swoole Entity Manager
seb's avatar
seb committed

seb's avatar
seb committed
Small Swoole Entity Manager is a PHP ORM designed for [Swoole](https://wiki.swoole.com/en/#/) and [OpenSwoole](https://openswoole.com).
seb's avatar
seb committed

seb's avatar
seb committed
Precisely, it is designed for :
seb's avatar
seb committed

seb's avatar
seb committed
- Async requests by implementing pool management
- Long time processes by managing memory to avoid memory leaks and long time storage like caching
seb's avatar
seb committed

seb's avatar
seb committed
It supports for now connections with :
seb's avatar
seb committed

seb's avatar
seb committed
- Mysql databases
- Postgres databases
- Small Swoole Db "in memory" relational database based on Swoole tables
seb's avatar
seb committed

## Packages

seb's avatar
seb committed
### Core package
seb's avatar
seb committed

seb's avatar
seb committed
The [core package](https://git.small-project.dev/lib/small-swoole-entity-manager) is the base package of Small Swoole Entity Manager.
seb's avatar
seb committed

seb's avatar
seb committed
It is framework free dependency, then can be used for your "from scratch" projects.
seb's avatar
seb committed

seb's avatar
seb committed
It include :
seb's avatar
seb committed

seb's avatar
seb committed
- Connections management with factory
- Entity manager factory
- Relational query builder support
- Pool management is provided by Small Swoole Patterns.
seb's avatar
seb committed

seb's avatar
seb committed
Collection classes is provided by [Small Collection](https://git.small-project.dev/lib/small-collection).
seb's avatar
seb committed

seb's avatar
seb committed
It use [Small Swoole Db](https://git.small-project.dev/lib/small-swoole-db) to manage "in memory" databases.
seb's avatar
seb committed

seb's avatar
seb committed
The Mysql and Postgres connections pools are managed via [Small Swoole Patterns](https://git.small-project.dev/lib/small-swoole-patterns).
seb's avatar
seb committed

seb's avatar
seb committed
- packagist : [https://packagist.org/packages/small/swoole-entity-manager-core](https://packagist.org/packages/small/swoole-entity-manager-core)
- repository : [https://git.small-project.dev/lib/small-swoole-entity-manager](https://git.small-project.dev/lib/small-swoole-entity-manager)
seb's avatar
seb committed

seb's avatar
seb committed
## Credits
seb's avatar
seb committed

seb's avatar
seb committed
**Small Swoole Entity Manager is a project developed by [Sébastien Kus, sebastien.kus@small-project.fr](mailto:seb@small-project.dev)**
seb's avatar
seb committed

seb's avatar
seb committed
© 2024 Sébastien Kus<br>
Under GNU GPL V3 Licence
seb's avatar
seb committed

seb's avatar
seb committed
**Documentation written by [Sébastien Kus, sebastien.kus@small-project.fr](mailto:seb@small-project.dev)**
seb's avatar
seb committed

seb's avatar
seb committed
© 2024 Sébastien Kus<br>
Under GNU Free Documentation License