Skip to content
@cycle

Cycle ORM

PHP DataMapper ORM and Data Modeling Engine by Spiral Scout


Documentation Sponsor Discord

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

Extensions

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

🌍 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 36

  3. database database Public

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

    PHP 72 31

Repositories

Showing 10 of 22 repositories

Top languages

Loading…

Most used topics

Loading…