PHPackages                             shibudb-org/shibudb-client-php - 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. shibudb-org/shibudb-client-php

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

shibudb-org/shibudb-client-php
==============================

A comprehensive PHP client for ShibuDb database with authentication, key-value operations, vector similarity search, and connection pooling

1.0.0(4mo ago)01MITPHPPHP &gt;=5.6CI failing

Since Feb 22Pushed 3mo agoCompare

[ Source](https://github.com/shibudb-org/shibudb-client-php)[ Packagist](https://packagist.org/packages/shibudb-org/shibudb-client-php)[ Docs](https://github.com/shibudb-org/shibudb-clients)[ RSS](/packages/shibudb-org-shibudb-client-php/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (2)Used By (0)

shibudb-client-php
==================

[](#shibudb-client-php)

ShibuDb client library for PHP

ShibuDb PHP Client
==================

[](#shibudb-php-client)

A comprehensive PHP client for ShibuDb database that supports authentication, key-value operations, vector similarity search, space management, and connection pooling. Compatible with **PHP 5.6+**.

Features
--------

[](#features)

- 🔐 **Authentication &amp; User Management**: Secure login with role-based access control
- 🔑 **Key-Value Operations**: Traditional key-value storage with PUT, GET, DELETE operations
- 🧮 **Vector Similarity Search**: Advanced vector operations with multiple index types
- 🗂️ **Space Management**: Create, delete, and manage different storage spaces
- 🛡️ **Error Handling**: Comprehensive error handling with custom exceptions
- 📊 **Connection Management**: Automatic connection handling with destructors
- 🔗 **Connection Pooling**: High-performance connection pooling for concurrent operations

Installation
------------

[](#installation)

### Prerequisites

[](#prerequisites)

1. **ShibuDb Server**: Ensure the ShibuDb server is running

    ```
    # Start the server (requires sudo)
    sudo shibudb start 4444
    ```
2. **PHP Requirements**:

    - PHP 5.6 or higher
    - No external PHP extensions required (uses built-in `stream_socket_client`, `json_encode`, `json_decode`)

### Setup

[](#setup)

#### Composer (Recommended)

[](#composer-recommended)

```
composer require shibudb-org/shibudb-client-php
```

Then in your PHP code:

```
