SkillAgentSearch skills...

Orm

PHP DataMapper, ORM

Install / Use

/learn @cycle/Orm
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Cycle ORM

Latest Stable Version Scrutinizer Code Quality Codecov Discord Meta Storm Plugin

<img src="https://cycle-orm.dev/cycle.png" height="135px" alt="Cycle ORM" align="left"/>

Cycle is PHP DataMapper, ORM and Data Modelling engine designed to safely work in classic and daemonized PHP applications (like RoadRunner). The ORM provides flexible configuration options to model datasets, powerful query builder and supports dynamic mapping schema. The engine can work with plain PHP objects, support annotation declarations, and proxies via extensions.

<p align="center"> <a href="https://cycle-orm.dev/docs"><b>Website and Documentation</b></a> | <a href="https://github.com/cycle/docs/issues/3">Comparison with Eloquent and Doctrine</a> </p>

Features

  • ORM with has-one, has-many, many-through-many and polymorphic relations
  • Plain Old PHP objects, AR, Custom objects or same entity type for multiple repositories
  • eager and lazy loading, query builder with multiple fetch strategies
  • embedded entities, lazy/eager loaded embedded partials
  • runtime configuration with/without code-generation
  • column-to-field mapping, single table inheritance, value objects support
  • hackable: persist strategies, mappers, relations, transactions
  • works with directed graphs and cyclic graphs using command chains
  • designed to work in long-running applications: immutable service core, disposable UoW
  • supports MySQL, MariaDB, PostgresSQL, SQLServer, SQLite
  • schema scaffolding, introspection, migrations and debugging
  • supports global query scopes, UUIDs as PK, soft deletes, auto timestamps and macros
  • custom column types, FKs to non-primary columns
  • use with or without annotations, proxy classes, and auto-migrations
  • compatible with Doctrine Collections, Illuminate Collections and custom collections
  • compatible with Doctrine Annotations, PHP8 attributes

Extensions

| Component | Current Status | |-------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | cycle/active-record | License PHP Stable Release Total Downloads | | cycle/schema-builder | License PHP Stable Release Total Downloads | | cycle/schema-renderer | License PHP Stable Release Total Downloads | | cycle/schema-provider | License PHP Stable Release Total Downloads | | cycle/annotated | License PHP Stable Release Total Downloads | | cycle/migrations | License PHP Stable Release Total Downloads | | cycle/entity-behavior | License PHP Stable Release Total Downloads | | cycle/entity-behavior-uuid | License PHP Stable Release [Total Downloads](https://packagist.org/packa

View on GitHub
GitHub Stars1.3k
CategoryDevelopment
Updated3d ago
Forks84

Languages

PHP

Security Score

95/100

Audited on Mar 31, 2026

No findings