coodde/php-trino-client

Simple reusable modern PHP Trino client library

Installs: 0

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

pkg:composer/coodde/php-trino-client

0.1.1 2026-01-06 23:20 UTC

This package is auto-updated.

Last update: 2026-01-06 23:21:48 UTC


README

A simple, reusable PHP client library for Trino that supports:

  • Sync queries
  • Streaming large datasets (memory-efficient)
  • Async query execution
  • Optional authentication (Basic / Bearer JWT)
  • Configurable catalog, schema, timeout

Designed for PHP 8+, lightweight, and easy to integrate into any project.

Installation

Use Composer to install:

composer require coodde/php-trino-client

Features

  • Lightweight, PSR-4 autoloaded
  • Exception handling via TrinoException
  • Configurable catalog, schema, timeout
  • Sync + streaming + async query execution
  • Optional authentication

Examples

You can find sample code in the directory called "examples"