PHPackages                             mailmug/zentropy-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. mailmug/zentropy-php

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

mailmug/zentropy-php
====================

PHP client for Zentropy server

v1.1.3(6mo ago)0141MITPHPPHP &gt;=8.0

Since Oct 19Pushed 6mo agoCompare

[ Source](https://github.com/mailmug/zentropy-php)[ Packagist](https://packagist.org/packages/mailmug/zentropy-php)[ RSS](/packages/mailmug-zentropy-php/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (1)Versions (8)Used By (1)

Zentropy PHP Client
===================

[](#zentropy-php-client)

[![Latest Stable Version](https://camo.githubusercontent.com/88ed5cc571f7090fbeff98c22939873b1cc3eef34d2a25a5d05281796a723266/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d61696c6d75672f7a656e74726f70792d706870)](https://packagist.org/packages/mailmug/zentropy-php)[![](https://camo.githubusercontent.com/2dedab677bae656cf6176b896c20f13ea11d29d70cd59b012f477fec92ee98d5/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6d61696c6d75672f7a656e74726f70792d706870)](LICENSE)

A simple and professional PHP client for **[Zentropy](https://github.com/mailmug/zentropy)**. Supports **TCP connections with authentication** and **Unix socket connections**.

---

Features
--------

[](#features)

- Connect to Zentropy server over TCP or Unix socket.
- Optional password authentication for TCP connections.
- Common commands: `SET`, `GET`, `DELETE`, `EXISTS`, `PING`.
- Easy to integrate in **any PHP project**, including **Laravel**.
- Minimal dependencies, PSR-4 autoloading.

---

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

[](#installation)

Use Composer to install:

```
composer require mailmug/zentropy-php
```

Usage
-----

[](#usage)

### TCP Connection (with optional password)

[](#tcp-connection-with-optional-password)

```
