Download the PHP package mesahub/client without Composer
On this page you can find all versions of the php package mesahub/client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package client
MesaHub PHP SDK
PHP SDK for MesaHub — access SQLite databases from PHP with raw SQL or a high-level table API.
Requirements
- PHP 8.1+
- Guzzle 7
Installation
Add the VCS repository to your composer.json:
Then run:
Quick Start
Connection String
Format: mh://apikey@host[:port]/dbname
- Remote hosts (e.g.
railway.app) → HTTPS,/v1/routes localhost/ Docker service names /*.internal→ HTTP,/api/routes
WHERE Filters
All conditions in a single where array are combined with AND.
| Operator key | SQL equivalent |
|---|---|
| (plain value) | = ? |
eq |
= ? |
ne |
!= ? |
gt |
> ? |
gte |
>= ? |
lt |
< ? |
lte |
<= ? |
like |
LIKE ? |
not_like |
NOT LIKE ? |
in |
IN (...) |
not_in |
NOT IN (...) |
is_null |
IS NULL |
is_not_null |
IS NOT NULL |
find() Options
insertMany()
Files
Error Handling
Result Types
| Type | Properties |
|---|---|
QueryResult |
rows, columns, rowCount, queryDurationMs |
ExecResult |
rowsAffected, lastInsertRowid, queryDurationMs |
FileRecord |
id, filename, folderPath, sizeBytes, contentType, url, uploadedAt, expiresAt, metadata |
Self-Hosting
All versions of client with dependencies
PHP Build Version
Package Version
The package mesahub/client contains the following files
Loading the files please wait ...