Skip to content
@cycle

Cycle ORM

PHP DataMapper ORM and Data Modeling Engine by Spiral Scout


🙋‍ 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.

🥳 Community

Twitter Discord

🤗 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.
  • 📖 blog.

🔥 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.

Pinned

  1. orm orm Public

    PHP DataMapper, ORM

    PHP 1.2k 104

  2. docs docs Public

    Cycle ORM Documentation

    109 37

  3. database database Public

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

    PHP 46 19

  4. bootstrap bootstrap Public

    Quick ORM setup with CLI helpers

    PHP 10 2

Repositories

Showing 10 of 15 repositories

Top languages

PHP

Most used topics

Loading…