cycle/orm
PHP DataMapper, ORM observed · 2026-08-28
Health v2 · maintenance only
94/100
- Activity 96
- Release rhythm 89
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 10.0
- age_days: 2856
- days_rel: 79
- days_push: 24
- n_releases_24m: 25
Adoption not part of the score
1328 stars · 81 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Cycle ORM is a PHP DataMapper ORM and data modelling engine with a powerful query builder and dynamic mapping schema. It is designed to work safely in both classic and long-running (daemonized) PHP applications such as RoadRunner.
Use cases
- map PHP objects to database tables in a PHP application
- build type-safe database queries with a query builder
- model has-one, has-many, many-to-many and polymorphic relations
- run an ORM inside long-running PHP workers like RoadRunner
- manage database schema, migrations and introspection
- implement repositories and unit-of-work persistence patterns
- support multiple databases like MySQL, Postgres, SQLServer and SQLite
When to choose
- you need a DataMapper-style ORM in PHP with plain old PHP objects
- your app runs in long-lived processes and needs an immutable, disposable-UoW ORM core
- you want flexible schema definition with or without annotations/attributes and code generation
- you need polymorphic relations, single table inheritance, or cyclic graph persistence
- you use the Spiral framework or RoadRunner stack
When to avoid
- you prefer Laravel Eloquent's Active Record style and tight Laravel integration
- you need a mature ecosystem with as many third-party extensions as Doctrine
- your project is a small script where a lightweight query builder or raw PDO suffices
- you rely on DBMS-specific features beyond Cycle's unified DBAL abstraction
Facets
library · maturity stable
orm database database-driver databases web-development backend developer-tools php windows datamapper query-builder php-orm long-running-applications roadrunner data-mapping spiral-framework linux macos docker web-server
3 sources
- readme: https://github.com/cycle/orm · fetched 2026-08-28 · 6f2597febf7e
- homepage: https://cycle-orm.dev · fetched 2026-08-29 · dccfbd6dc975
- site_page: https://cycle-orm.dev/docs · fetched 2026-08-29 · e41f9f83245a
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| cycle/orm | main | 94 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem