Overview of Cycle ORM
2.xCycle is a PHP DataMapper, ORM, and Data Modelling engine. It is specifically designed to work safely in both classic PHP environments and long-running, daemonized PHP applications (such as those powered by RoadRunner).
Key capabilities include:
- Data Modeling: Supports various relation types (has-one, has-many, many-through-many, polymorphic), embedded entities, and single table inheritance.
- Object Support: Works with Plain Old PHP Objects (POPOs), Active Record, custom objects, or even classless entities.
- Querying: Provides a powerful query builder with multiple fetch strategies, including eager and lazy loading.
- Architecture: Designed for long-running processes using an immutable service core and a disposable Unit of Work (UoW).
- Database Support: Compatible with MySQL, MariaDB, PostgreSQL, SQL Server, and SQLite.
- Extensibility: Supports custom column types, custom mappers, relations, and persist strategies. It is compatible with PHP8 attributes and Doctrine Annotations.