Download the PHP package monkeyscloud/monkeyslegion-query without Composer

On this page you can find all versions of the php package monkeyscloud/monkeyslegion-query. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package monkeyslegion-query

MonkeysLegion Query — v2

PHP [Tests]()

Performance-first Query Builder & Micro-ORM for the MonkeysLegion framework.

Architecture

Key Features

Feature Description
Performance-first Structural SQL caching (xxh128), statement reuse, zero-copy bindings
4 DB engines MySQL, MariaDB, PostgreSQL, SQLite — full grammar implementations
Read/write routing Automatic: SELECTs → read(), DML → write() via ConnectionManagerInterface
PHP 8.4 Property hooks, asymmetric visibility, readonly classes, backed enums
Identity map Same row always returns same object instance
Unit of Work persist() / remove() / flush() — batched writes in one transaction
Cursor pagination Constant-memory traversal of large datasets
CTE builder Standard and recursive CTEs across all 4 engines
Vector search pgvector, MySQL 9.x VEC_DISTANCE, with fallbacks
#[Scope] attribute Global and per-query scopes on repository methods

Installation

Quick Start

Query Builder

Joins

Where Clauses

Repository

Common Table Expressions

Vector Search

Performance

Metric v1 v2
Test suite (156 tests) ~120ms 41ms
Code size 10,500 lines / 19 files 3,600 lines / 24 files
Inheritance depth 3 classes 1 class
Schema queries at build Per column Zero
SQL compilation Every execution Cached (xxh128)
PDOStatement New per query Cached per connection

Database Compatibility

Feature MySQL 8+ MariaDB 10.2+ PostgreSQL SQLite 3.35+
Query builder ✅ ✅ ✅ ✅
Upsert ON DUPLICATE KEY ON DUPLICATE KEY ON CONFLICT ON CONFLICT
RETURNING ❌ ❌ ✅ ✅
JSON path ->> ->> ->> / #>> json_extract
CTE ✅ ✅ ✅ ✅
Recursive CTE ✅ ✅ ✅ ✅
Vector search VEC_DISTANCE* ❌ pgvector ❌
Identifier quoting `backtick` `backtick` "double" "double"

Requirements

License

MIT © MonkeysCloud


All versions of monkeyslegion-query with dependencies

PHP Build Version
Package Version
Requires php Version ^8.4
monkeyscloud/monkeyslegion-database Version ^2.0
monkeyscloud/monkeyslegion-entity Version ^2.0
psr/simple-cache Version ^3.0
psr/log Version ^3.0
ext-pdo Version *
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package monkeyscloud/monkeyslegion-query contains the following files

Loading the files please wait ...