PHPackages                             mailmug/zentropy-laravel - 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. [Caching](/categories/caching)
4. /
5. mailmug/zentropy-laravel

ActiveLibrary[Caching](/categories/caching)

mailmug/zentropy-laravel
========================

Laravel wrapper for MailMug's zentropy-php package

1.1.3(7mo ago)07MITPHPPHP ^8.0

Since Oct 20Pushed 7mo agoCompare

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

READMEChangelogDependencies (6)Versions (7)Used By (0)

Zentropy Laravel
================

[](#zentropy-laravel)

[![Latest Version](https://camo.githubusercontent.com/5d2e38f865c544e52bcd3ce6d4bd818136e8944d4b48ac2851a451d41585acbe/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d61696c6d75672f7a656e74726f70792d6c61726176656c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/mailmug/zentropy-laravel)[![](https://camo.githubusercontent.com/c3ea9672745a0b86c19a2709e38af28cb12f3bcbc6549966b7570d47cb5d62ad/68747470733a2f2f62616467656e2e6e65742f6769746875622f6c6963656e73652f6d61696c6d75672f7a656e74726f70792d6c61726176656c)](LICENSE)

**Zentropy Laravel** is a simple and powerful **Laravel wrapper for MailMug's Zentropy PHP client** — a high-performance **Redis alternative**. Easily store, retrieve, and manage key-value data using **TCP or Unix socket connections** directly from your Laravel applications.

---

[Zentropy Server](https://github.com/mailmug/zentropy)

Features
--------

[](#features)

- ✅ Full Laravel 10, 11, 12 support
- ✅ Facade access for clean and readable syntax
- ✅ Supports **TCP connections** with optional authentication
- ✅ Supports **Unix socket connections** (no authentication required)
- ✅ Common key-value operations: `set`, `get`, `delete`, `exists`, `ping`
- ✅ Easily configurable via published `zentropy.php` config
- ✅ Lightweight and high-performance alternative to Redis

---

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

[](#installation)

Install via Composer:

```
composer require mailmug/zentropy-laravel
```

Publish Config and Service Provider
-----------------------------------

[](#publish-config-and-service-provider)

To publish the configuration file:

```
php artisan vendor:publish --provider="MailMug\ZentropyLaravel\ZentropyWrapperServiceProvider" --tag="config"
```

This will create config/zentropy.php where you can configure host, port, password, and Unix socket.

Add to .env
-----------

[](#add-to-env)

```
ZENTROPY_HOST=127.0.0.1
ZENTROPY_PORT=6383
ZENTROPY_PASSWORD=null
ZENTROPY_UNIX_SOCKET=null
```

- ZENTROPY\_HOST – the host of your Zentropy server (default 127.0.0.1)
- ZENTROPY\_PORT – TCP port of your server (default 6383)
- ZENTROPY\_PASSWORD – optional password for TCP
- ZENTROPY\_UNIX\_SOCKET – optional Unix socket path

Usage
-----

[](#usage)

```
use MailMug\ZentropyLaravel\Facades\Zentropy;

// Set a value
Zentropy::set('foo', 'bar');

// Get a value
$value = Zentropy::get('foo');

// Check if a key exists
$exists = Zentropy::exists('foo');

// Delete a key
Zentropy::delete('foo');

// Ping the server
$ping = Zentropy::ping();
```

License
-------

[](#license)

This project is licensed under the MIT License.

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance63

Regular maintenance activity

Popularity4

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 81.8% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~5 days

Total

6

Last Release

227d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/177085882?v=4)[mailmug](/maintainers/mailmug)[@mailmug](https://github.com/mailmug)

---

Top Contributors

[![arshidkv12](https://avatars.githubusercontent.com/u/6806645?v=4)](https://github.com/arshidkv12 "arshidkv12 (9 commits)")[![mailmug](https://avatars.githubusercontent.com/u/177085882?v=4)](https://github.com/mailmug "mailmug (2 commits)")

---

Tags

laravellaravel-cachelaravel-packageredis

###  Code Quality

TestsPest

### Embed Badge

![Health badge](/badges/mailmug-zentropy-laravel/health.svg)

```
[![Health](https://phpackages.com/badges/mailmug-zentropy-laravel/health.svg)](https://phpackages.com/packages/mailmug-zentropy-laravel)
```

###  Alternatives

[backpack/crud

Quickly build admin interfaces using Laravel, Bootstrap and JavaScript.

3.4k3.7M223](/packages/backpack-crud)[unopim/unopim

UnoPim Laravel PIM

10.5k2.4k](/packages/unopim-unopim)[statamic-rad-pack/runway

Eloquently manage your database models in Statamic.

135224.7k7](/packages/statamic-rad-pack-runway)[ecotone/laravel

Ecotone for Laravel — CQRS, Event Sourcing, Sagas, Durable Workflows, and Outbox on top of Laravel Queue, via PHP attributes.

21318.6k3](/packages/ecotone-laravel)[duncanmcclean/statamic-cargo

Comprehensive e-commerce addon for Statamic. Build bespoke e-commerce sites without the complexity.

3416.6k](/packages/duncanmcclean-statamic-cargo)[byerikas/cache-tags

Allows for Redis/Valkey cache flushing multiple tagged items by a single tag.

1420.4k](/packages/byerikas-cache-tags)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
