{"repo":"thewunder/corma","free":true,"listed":false,"github":"https://github.com/thewunder/corma","clone":"git clone https://github.com/thewunder/corma.git","description":"Convention-based Object-Relational Mapper","language":"PHP","stars":33,"topics":["orm","php","database"],"license":"MIT","category":"databases-storage","readme_excerpt":"Corma ===== [![Latest Version on Packagist][ico-version]][link-packagist] [![Software License][ico-license]](LICENSE.txt) Corma is a high-performance, convention-based ORM based on Doctrine DBAL. Corma is great because: No complex and difficult to verify annotations or configuration files Promotes consistent code organization Loads and saves one-to-one, one-to-many, many-to-many, and polymorphic relationships Can save multiple objects in a single query (using an upsert) Makes it easy to cache and avoid database queries Supports soft deletes Makes it easy to handle transactions in a Unit of Work Highly customizable Corma doesn't: Autoload or lazy load relationships by default Do migrations or code generation Works in MySql and PostgreSQL. Install via Composer -------------------- Via the command line: composer.phar require thewunder/corma ^5.0 Or add the following to the require section your composer.json: \"thewunder/corma\": \"^5.0\" For PHP versions < 8.1 use Corma version 3.0 Basic Usage ----------- Create a DataObject And a Repository (optional) Create the orm and use it Documentation ------------- See the wiki for full documentation. Contributing ------------ Please see CONTRIBUTING for details. [ico-version]: https://img.shields.io/packagist/v/thewunder/corma.svg?style=flat-square [ico-license]: https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square [link-packagist]: https://packagist.org/packages/thewunder/corma","default_branch":null,"files":null,"tree":[],"storefront":"/r/thewunder","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/thewunder/corma/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}