Download the PHP package quellabs/objectquel without Composer
On this page you can find all versions of the php package quellabs/objectquel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download quellabs/objectquel
More information about quellabs/objectquel
Files in quellabs/objectquel
Package objectquel
Short Description A sophisticated ORM system with a unique query language and streamlined architecture
License MIT
Informations about the package objectquel
ObjectQuel
ObjectQuel is a query language and ORM for PHP. Query mapped entities, traverse relationships, combine database and JSON sources, and let ObjectQuel compile the database work for MySQL/MariaDB, PostgreSQL, SQLite, or SQL Server.
Installation
Upgrading to 2.0
Version 2.0 changes relationship annotations: @OneToMany and the non-owning form of @OneToOne are replaced by @InverseOf(targetEntity=..., relation="..."). @OneToOne now marks only the side that owns the foreign key. For example:
Quick start
ObjectQuel supports regex and wildcard predicates, full-text search, existence checks, and queries that join mapped entities with JSON sources. It can split a query across database and PHP stages when needed. See the query language guide for examples and syntax.
Writes, DDL, and EQUEL
Use append, replace, and delete for set-based writes through executeQuery(). These bypass the Unit of Work; use persist() and flush() when you need entity lifecycle behavior. See the write statements.
Schema statements include create, alter, destroy, and index operations. Use DDL queries for ad hoc schema work and migrations for maintained schemas.
EQUEL defines stored functions in ObjectQuel syntax. A value-returning definition produces a database function; void produces a database procedure. For example:
EQUEL supports MySQL/MariaDB, PostgreSQL, and SQL Server. A definition fails if its name already exists; use destroy function before redefining it. See the EQUEL guide for function bodies, calls, and engine notes.
ORM and tooling
ObjectQuel includes entity and relationship mapping, a Unit of Work, lazy loading, optimistic locking, lifecycle events, repositories, and migrations. Its Sculpt CLI can generate entities from scratch or existing tables and create or run migrations:
It works standalone or with Canvas through quellabs/canvas-objectquel.
Documentation
The full query language and ORM reference is at objectquel.com/docs.
Support
If ObjectQuel saves you time, consider sponsoring development.
License
MIT
All versions of objectquel with dependencies
ext-json Version *
ext-pdo Version *
cakephp/database Version ^5.3
softcreatr/jsonpath Version ^0.8
quellabs/contracts Version ^1
quellabs/support Version ^1
quellabs/signal-hub Version ^1
quellabs/annotation-reader Version ^1
quellabs/sculpt Version ^1