Cycle ORM
PHP DataMapper ORM and Data Modeling Engine by Spiral Scout-
Verified
We've verified that the organization cycle controls the domain:
- cycle-orm.dev
- 108 followers
- San Francisco
- https://cycle-orm.dev/
- @spiralphp
Welcome to Cycle Organization! π
Cycle ORM is a modern data mapper for PHP 8.2+, designed to be intuitive and flexible. It offers a high-performance database access layer that simplifies working with databases in PHP applications.
π¬ Join Our Community
Join our Discord server to connect with other Cycle ORM users and contributors!
πΊοΈ Explore the Cycle Ecosystem
Core
- ORM: Core of our project β Data mapper layer.
- Database: Database abstraction layer with query builders and schema introspection for MySQL, PostgreSQL, SQL Server and SQLite.
- Transaction: Runs raw database queries and a scoped Entity Manager inside one database transaction.
Schema
- Annotated: Defines entities, columns and relations with PHP attributes.
- Schema Builder: Compiles entity declarations into the ORM schema and syncs database tables.
- Schema Provider: Builds the ORM schema from different sources, with caching.
- Schema Renderer: Renders ORM schemas into various formats, including PHP code, console output and Mermaid.
Migrations
- Migrations: Migration runner and repository for Cycle Database.
- Schema Migrations Generator: Generates migration files from the difference between the ORM schema and the database.
Extensions
- Entity Behavior: Entity behaviors like auto timestamps, soft deletes, optimistic locking, hooks and event listeners.
- Entity Behavior UUID: UUID primary keys and columns.
- Entity Behavior Identifier:
ramsey/identifiertypes as entity columns. - Active Record: The Active Record pattern on top of Cycle ORM.
- ORM Promise Mapper: A mapper that loads relations through promise objects instead of proxies.
Tooling
- Testing: Shared Testo test harness for Cycle ORM packages: per-driver suites and test databases in Docker.
- Skills: Agent skills that teach AI coding assistants to work with Cycle ORM and its attributes.
π©βπ» Resources for Developers
- Documentation: Official documentation, built from the docs repository.
- Cycle Blog: Stay updated with the latest news and insights directly from our team.
π Cycle ORM Integrations
Cycle ORM can be integrated seamlessly with various PHP frameworks, enhancing productivity across different development environments:
- Spiral: Official ORM, supported by
spiral/cycle-bridge. Documentation - Yii 3: Supported by
yiisoft/yii-cycle, enriching Yii framework applications. Documentation - Laravel: Integrate using
wayofdev/laravel-cycle-orm-adapterfor a robust DataMapper ORM solution. Documentation
π Key Projects
- RoadRunner: High-performance PHP server and process manager.
- Spiral Framework: Secure and modular PHP framework.
π€ Support Cycle ORM
Consider supporting us by becoming a sponsor on GitHub: Become a Sponsor
π Contributing to Cycle ORM
We welcome contributions of all forms, from code improvements to documentation. Dive into our Contributing Guidelines for more details on how you can contribute.
Pinned Loading
-
orm orm Public
PHP DataMapper, ORM
-
docs docs Public
Cycle ORM Documentation
-
database database Public
Database Abstraction Layer, Schema Introspection, Schema Generation, Query Builders
Repositories
Showing 10 of 22 repositories-
database
Public
Database Abstraction Layer, Schema Introspection, Schema Generation, Query Builders
cycle/database's past year of commit activity PHP 72 MIT 31 30 (1 issue needs help) 12 Updated Dec 2, 2026 -
orm
Public
PHP DataMapper, ORM
cycle/orm's past year of commit activity PHP 1,329 MIT 81 64 3 Updated Dec 1, 2026 -
docs
Public
Cycle ORM Documentation
cycle/docs's past year of commit activity 115 36 29 (1 issue needs help) 3 Updated Dec 1, 2026 - transaction Public cycle/transaction's past year of commit activity PHP 0 BSD-3-Clause 0 1 0 Updated Nov 22, 2026
-
testing
Public
Shared Testo test harness for Cycle ORM packages: per-driver suites, test databases in Docker, ORM helpers
cycle/testing's past year of commit activity PHP 0 MIT 0 3 0 Updated Nov 22, 2026 - schema-renderer Public cycle/schema-renderer's past year of commit activity PHP 10 MIT 6 2 (1 issue needs help) 1 Updated Nov 22, 2026
-
schema-provider
Public
The package provides the ability to build schema for Cycle ORM from different sources.
cycle/schema-provider's past year of commit activity PHP 0 MIT 0 1 0 Updated Nov 22, 2026 -
schema-migrations-generator
Public
Migrations generator
cycle/schema-migrations-generator's past year of commit activity PHP 3 MIT 5 3 0 Updated Nov 22, 2026 -
schema-builder
Public
Declarative schema generation for Cycle ORM
cycle/schema-builder's past year of commit activity PHP 15 MIT 13 10 3 Updated Nov 22, 2026 -
orm-promise-mapper
Public
Promise mapper
cycle/orm-promise-mapper's past year of commit activity PHP 2 MIT 3 0 0 Updated Nov 22, 2026