Skip to content

Cycle ORM

PHP DataMapper ORM and Data Modeling Engine by Spiral Scout

πŸ™‹β€ Welcome to the Cycle ORM organization on GitHub!

Cycle ORM is a modern data mapper for PHP, designed to be intuitive and flexible. It provides a full-featured, high-performance database access layer that simplifies the process of working with databases in your PHP applications.

πŸ’¬ Join our discord server: Link

πŸ€— Support us here: Link

πŸ—ΊοΈ The Cycle ecosystem contains the following packages:

  • Database: contains a set of database connectors and utilities for working with different database systems, including MySQL, PostgreSQL, MSSQL, and SQLite.
  • ORM: provides the data mapper layer.
  • Annotated: provides support for annotated/attributed entity classes, which allow you to define your Database and ORM schemas directly in your PHP code.
  • Schema Renderer: allows to render an ORM schema into different formats, such as PHP code, console output, and Mermaid.
  • Entity Behavior: a bunch of utility classes that you can use to add some handy behaviors to your entities, e.g. to easily implement soft deleting, optimistic lock, auto timestamps, and automatic UUID generation
  • Migrations: automatically generates migration files based on the difference between the annotated ORM schema and the current database schema. This helps you ensure that the database schema stays in sync with the ORM schema.

πŸ‘©β€πŸ’» Useful resources:

  • πŸ“– docs: Cycle documentation repository with auto-sync to the website.
  • πŸ“– forum.

Our other tremendous projects

πŸ”₯ RoadRunner: RoadRunner is high-performance PHP application server and process manager written in Go and powered with plugins.
πŸš€ Spiral Framework: Spiral Framework is a high-performance PHP framework with a focus on security, flexibility, and modularity.


  1. orm Public

    PHP DataMapper, ORM

    PHP 1.2k 89

  2. docs Public

    Cycle ORM Documentation

    108 36

  3. database Public

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

    PHP 39 18

  4. bootstrap Public

    Quick ORM setup with CLI helpers

    PHP 9 1


Showing 10 of 15 repositories

Top languages


Most used topics