PHP Classes
elePHPant
Icontem

Cycle DataMapper ORM: Store and retrieve objects in a database using ORM

Recommend this page to a friend!
  Info   View files View files (369)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2019-09-03 (2 days ago) RSS 2.0 feedNot yet rated by the usersTotal: 20 This week: 20All time: 9,672 This week: 16Up
Version License PHP version Categories
cycle-orm 1.0MIT/X Consortium ...7.1Databases, Design Patterns, PHP 7
Description Author

This package can be used to store and retrieve objects in a database using ORM.

It provides several classes and traits that can be used by applications to create objects that map class variable values into database table record values and vice-versa.

It provides flexible configuration options to model data sets and support dynamic schema configuration.

It supports mapping regular class objects and supports mapping declarations as annotations in the class comments.

Name: Wolfy-J <contact>
Classes: 4 packages by
Country: Belarus Belarus
Innovation award
Innovation award
Nominee: 1x

 

Details

Cycle ORM

Latest Stable Version Build Status Scrutinizer Code Quality Codecov <a href="https://discord.gg/TFeEmCs"><img src="https://img.shields.io/badge/discord-chat-magenta.svg"></a>

Cycle is PHP DataMapper ORM and Data Modelling engine designed to safely work in classic and daemonized PHP applications (like RoadRunner). The ORM provides flexible configuration options to model datasets and support dynamic mapping schema at runtime. Engine can work with plain PHP objects, support annotation declarations and proxies via extensions.

<p align="center">

<a href="https://github.com/cycle/docs"><b>Documentation</b></a> | <a href="https://github.com/cycle/docs/issues/3">Comparison with Eloquent and Doctrine</a>

</p>

Features:

  • ORM with has-one, has-many, many-thought-many and polymorphic relations
  • Plain Old PHP Objects or same entity type for multiple repositories
  • eager and lazy loading, query builder with multiple fetch strategies
  • embedded entities, lazy/eager loaded embedded partials
  • runtime configuration with/without code-generation
  • column-to-field mapping, single table inheritance, value objects support
  • custom persist strategies, dirty state, safe entity map
  • works with directed graphs and cyclic graphs using command chains
  • designed to work in long-running applications, immutable service core, reconnects
  • supports MySQL, MariaDB, PostgresSQL, SQLServer, SQLite
  • schema scaffolding and migrations
  • supports global query constrains, UUIDs as PK, soft deletes, auto timestamps
  • disposable UoW, custom column types, FKs to non primary columns
  • use with or without annotations, proxy classes and auto-migrations
  • compatible with Doctrine Collections, Doctrine Annotations 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/proxy-factory | 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 Spiral Scout.

  Files folder image Files  
File Role Description
Files folder imagesrc (16 files, 11 directories)
Files folder imagetests (1 directory)
Accessible without login Plain text file .travis.yml Data Auxiliary data
Accessible without login Plain text file CHANGELOG.md Data Auxiliary data
Accessible without login Plain text file CODE_OF_CONDUCT.md Data Auxiliary data
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file CONTRIBUTING.md Data Auxiliary data
Accessible without login Plain text file infection.json Data Auxiliary data
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file phpunit.xml Data Auxiliary data
Accessible without login Plain text file README.md Doc. Documentation

 Version Control Unique User Downloads Download Rankings  
 100%
Total:20
This week:20
All time:9,672
This week:16Up