Download the PHP package zteradb/zteradb-php without Composer
On this page you can find all versions of the php package zteradb/zteradb-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package zteradb-php
ZTeraDB PHP Client
The official PHP client for ZTeraDBโa unified database abstraction platform. This library enables you to connect to your existing data infrastructure and execute queries seamlessly using ZTeraDB Query Language (ZQL).
Technical Overview
This package implements a performance-optimized, ZQL-first PHP client utilizing a raw TCP socket transport layer.
To ensure low-overhead binary framing, the client communicates with the ZTeraDB server using 4-byte big-endian length-prefixed payloads containing structured JSON data. This underlying transport architecture eliminates HTTP overhead, offering high-throughput query execution directly from your PHP runtime.
๐ง Architecture Overview
You never connect to your backend databases directly. ZTeraDB handles all connections, cryptographic signing, proxy routing, and query execution securely behind the scenes.
Your App โ ZTeraDB PHP Client โ ZTeraDB Server โ Your Databases
Key Features
- Unified Access: Query multiple existing databases through a single interface.
- Type-Safe & Standardized: Receive predictable, structured payloads regardless of the underlying data source.
- Lightweight: Built with minimal overhead, supporting modern PHP environments (7.2+).
Table of Contents
- Key Features
- Prerequisites & Requirements
- Installation
- Usage
- Documentation Sections
- Licence
โญ Key Features
- ๐ Unified Query Language (ZQL): Write once, run on any database (PostgreSQL, MySQL, MSSQL, etc.).
- ๐ Easy Integration: Seamlessly plugs into any PHP application or framework (Laravel, Symfony, CodeIgniter).
- โ๏ธ Auto-Managed Connections: Handles connection pooling and automatic retries behind the scenes.
- ๐ Secure Authentication: Protected via client, access, and secret keys with cryptographic signing.
- ๐ฏ Clean Query Builder: Fluent interface for standard CRUD operations (
insert,select,update,delete). - ๐ Advanced Filtering: Built-in support for complex logical and mathematical filters.
- ๐งต Streamed Results: Efficiently memory-manages large datasets using PHP generators.
- ๐ฆ Type-Safe & Standardized: Receive predictable, structured payloads regardless of the underlying data source.
๐ Prerequisites & Requirements
| Requirement | Specification |
|---|---|
| PHP Version | PHP 7.2 or higher (Download from php.net) |
| Extensions | sockets extension must be enabled in your php.ini file |
| Package Registry | Available via Packagist |
Installation
Option 1: Via Composer (Recommended)
Run the following command in your terminal to install the ZTeraDB client:
Option 2: From GitHub Repository
Alternatively, you can pull the package directly from GitHub. Add the repository to your composer.json file:
Then, run the installation command:
๐ 60-Second Quick Start
๐ Documentation Sections
Explore the rest of our guides to unlock the full potential of ZTeraDB:
- Configuration - Learn all available configuration options.
- Connection - Deep dive into socket connections and lifecycle management.
- Query Builder - Master building fluent ZQL queries.
- Filter Conditions - Apply advanced math and logical filters to your data.
- Examples โ Copy-pasteable snippets for common use cases.
- Troubleshooting Guide โ How to resolve common connection or runtime errors.
- Quickstart Guide โ A streamlined, 5-minute setup guide.
- Licence โ Open-source licence terms.
Licence
This project is licenced under the ZTeraDB Licence - see LICENCE file for details.
All versions of zteradb-php with dependencies
ext-sockets Version *