{"repo":"ikkez/f3-cortex","free":true,"listed":false,"github":"https://github.com/ikkez/f3-cortex","clone":"git clone https://github.com/ikkez/f3-cortex.git","description":"A multi-engine ORM / ODM for the PHP Fat-Free Framework","language":"PHP","stars":119,"topics":["fat-free-framework","php","data-mapper","sql","mongodb","orm","filedb"],"license":"GPL-3.0","category":"databases-storage","readme_excerpt":"A general purpose Data-Mapper for the PHP Fat-Free Framework Cortex is a multi-engine ActiveRecord ORM / ODM that offers easy object persistence. Some of its main features are: - It handles SQL, Jig and MongoDB database engines - Write queries in well-known SQL Syntax, they can be translated to Jig and Mongo - automated SQL table creation and column extension from defined schema configurations - Easy prototyping with the SQL Fluid Mode, which makes your RDBMS schema-less and adds new table columns automatically - Support for models and collections - Relationships: link multiple models together to one-to-one, one-to-many and many-to-many associations - smart-loading of related models (intelligent lazy and eager-loading with zero configuration) - useful methods for nested filtering through relations - lots of event handlers and custom setter / getter preprocessors for all fields - define default values and nullable fields for NoSQL - additional validation plugin available With Cortex you can create generic apps, that work with any DB of the users choice, no matter if it's SQlite, PostgreSQL, MongoDB or even none. You can also mash-up multiple engines or use them simultaneously. It's great for fast and easy data abstraction and offers a bunch of useful filter possibilities. --- Table of Contents 1. Quick Start 2. SQL Fluid Mode 3. Cortex Models 1. Configuration 1. Additional Data Types 2. Alternative Configuration 2. Blacklist Fields 2. Setup 3. Setdown 4. Relations 1. Setup the","default_branch":null,"files":null,"tree":[],"storefront":"/r/ikkez","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ikkez/f3-cortex/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."}