PHPackages                             maludb/client - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. maludb/client

ActiveLibrary[Database &amp; ORM](/categories/database)

maludb/client
=============

PHP driver for MaluDB — a memory DBMS on PostgreSQL.

v0.1.0(2mo ago)014PostgreSQLPHPPHP &gt;=8.2

Since May 17Pushed 1mo agoCompare

[ Source](https://github.com/maludb/maludb-client-php)[ Packagist](https://packagist.org/packages/maludb/client)[ Docs](https://github.com/edwardhonour/maludb-core)[ RSS](/packages/maludb-client/feed)WikiDiscussions main Synced 3w ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

`maludb/client` — PHP driver for MaluDB
=======================================

[](#maludbclient--php-driver-for-maludb)

PHP 8.2+ client for the maludb\_core extension. Mirrors the [Python](../python/README.md) and [Node.js](../nodejs/README.md)drivers in shape and method names.

Status: **alpha**. v0.1.0 covers the headline read/write surface; streaming, pool retrieval, and the workflow-extraction helpers land in later versions.

Requirements
------------

[](#requirements)

PHP&gt;= 8.2Extensions`ext-pdo`, `ext-pdo_pgsql`, `ext-json`PostgreSQLmaludb\_core 0.41.0+ installed in the target DBOn Ubuntu 24.04:

```
sudo apt install php-cli php-pgsql
```

Composer is needed for the autoload + dev deps:

```
# If composer isn't installed, install it system-wide:
curl -sS https://getcomposer.org/installer -o composer-setup.php
php composer-setup.php
sudo mv composer.phar /usr/local/bin/composer
rm composer-setup.php
composer --version
```

If you do not have sudo access, install Composer for your user instead:

```
mkdir -p "$HOME/.local/bin"
curl -sS https://getcomposer.org/installer | php -- --install-dir="$HOME/.local/bin" --filename=composer
"$HOME/.local/bin/composer" --version
```

If the user-local `composer` command is not found in a new shell, add `$HOME/.local/bin` to your `PATH`:

```
echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.profile
. ~/.profile
```

Install
-------

[](#install)

The PHP driver is currently distributed using composer.

```
composer require maludb/client
```

You can also install the package an refer to the example code by cloning the repo.

```
git clone https://github.com/maludb/maludb-core.git
cd maludb-core/drivers/php
composer install
```

Quickstart
----------

[](#quickstart)

```
