Skip to content
@cycle

Cycle ORM

PHP DataMapper ORM and Data Modeling Engine by Spiral Scout


Follow on X (Twitter) Discord Support

Welcome to Cycle Organization! 👋

Cycle ORM is a modern data mapper for PHP, 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

Follow us on X (Twitter) and join our Discord server to connect with other Cycle ORM users and contributors!

🗺️ Explore the Cycle Ecosystem

  • ORM: Core of our project — Data mapper layer.
  • Database: Database connectors and utilities for MySQL, PostgreSQL, MSSQL, and SQLite.
  • Annotated: Support for annotated entity classes, allowing direct definitions of schemas in PHP code.
  • Schema Renderer: Renders ORM schemas into various formats, including PHP code, console output and Mermaid.
  • Schema Provider: Provides the ability to build schema for Cycle ORM from different sources.
  • Entity Behavior: Utility classes for entity behaviors like soft deletes, auto timestamps, and UUID generation.
  • Migrations: Automatically generates migration files to keep the database schema in sync with the ORM schema.

👩‍💻 Resources for Developers

🌍 Cycle ORM Integrations

Cycle ORM can be integrated seamlessly with various PHP frameworks, enhancing productivity across different development environments:

🚀 Key Projects

🤗 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

  1. orm orm Public

    PHP DataMapper, ORM

    PHP 1.3k 82

  2. docs docs Public

    Cycle ORM Documentation

    115 39

  3. database database Public

    Database Abstraction Layer, Schema Introspection, Schema Generation, Query Builders

    PHP 65 30

Repositories

Showing 10 of 19 repositories
  • active-record Public

    Provides a simple way to work with your database using Active Record pattern and Cycle ORM.

    cycle/active-record’s past year of commit activity
    PHP 48 MIT 0 1 1 Updated Sep 14, 2025
  • cycle/entity-behavior-identifier’s past year of commit activity
    PHP 3 MIT 0 1 1 Updated Sep 9, 2025
  • orm Public

    PHP DataMapper, ORM

    cycle/orm’s past year of commit activity
    PHP 1,290 MIT 82 82 8 Updated Sep 9, 2025
  • docs Public

    Cycle ORM Documentation

    cycle/docs’s past year of commit activity
    115 39 34 (1 issue needs help) 1 Updated Aug 31, 2025
  • database Public

    Database Abstraction Layer, Schema Introspection, Schema Generation, Query Builders

    cycle/database’s past year of commit activity
    PHP 65 MIT 30 24 (1 issue needs help) 5 Updated Jul 27, 2025
  • annotated Public

    Schema generation using annotated entities and mappers

    cycle/annotated’s past year of commit activity
    PHP 27 MIT 15 12 3 Updated Jul 22, 2025
  • cycle/entity-behavior’s past year of commit activity
    PHP 9 MIT 7 5 1 Updated Jul 22, 2025
  • migrations Public

    Automatic migration generation

    cycle/migrations’s past year of commit activity
    PHP 21 MIT 16 10 (3 issues need help) 3 Updated Jul 13, 2025
  • schema-builder Public

    Declarative schema generation for Cycle ORM

    cycle/schema-builder’s past year of commit activity
    PHP 16 MIT 12 7 4 Updated Jul 10, 2025
  • cycle/schema-renderer’s past year of commit activity
    PHP 11 MIT 6 2 (1 issue needs help) 0 Updated May 8, 2025