Skip to content
PHP DataMapper and ORM
Branch: master
Clone or download
Latest commit eb678bf Apr 22, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src added `DatabaseProviderInterface` Apr 16, 2019
tests more tests Apr 16, 2019
.gitattributes
.gitignore init Nov 7, 2018
.travis.yml Update .travis.yml Apr 22, 2019
LICENSE
README.md Update README.md Apr 22, 2019
composer.json minor cs Mar 17, 2019
infection.json infection Feb 2, 2019
phpunit.xml welcome spiral/annotations Feb 15, 2019

README.md

Cycle ORM

Latest Stable Version Build Status Scrutinizer Code Quality Codecov

Cycle is PHP DataMapper and ORM engine designed to work in long-running PHP applications (like RoadRunner). The ORM provides the hard separation between the entity objects and their persistent representation which allows you to use any type of data carrying models or define database schema on a fly without code generation.

Documentation (in-progress)

Features:

  • ORM with many-to-many, many-thought-many and polymorphic relations
  • bare PHP objects, ActiveRecord-like objects, same object type for all entities
  • same entity type for multiple repositories
  • query builder with automatic relation resolution
  • eager and lazy loading, proxies support, references support
  • runtime configuration with/without code-generation
  • column-to-field mapping, value objects support
  • single table inheritance
  • works with directed graphs and cyclic graphs using IDDFS over command chains
  • designed to work in long-running applications, immutable service core
  • dirty state, sync exceptions do not break entity map state
  • supports MySQL, MariaDB, PostgresSQL, SQLServer, SQLite (full mock capability)
  • supports global query constrains, UUIDs as PK, soft deletes, auto timestamps
  • compatible with Doctrine Collections and Zend Hydrator

Extensions:

Component Current Status
cycle/schema-builder Latest Stable Version Build Status Scrutinizer Code Quality Codecov
cycle/annotated Latest Stable Version Build Status Scrutinizer Code Quality Codecov
cycle/migrations Latest Stable Version Build Status Scrutinizer Code Quality Codecov

License:

The MIT License (MIT). Please see LICENSE for more information. Maintained by SpiralScout.

You can’t perform that action at this time.