PHPackages                             yykpf/zookeeper-node-cache - 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. yykpf/zookeeper-node-cache

ActiveLibrary[Caching](/categories/caching)

yykpf/zookeeper-node-cache
==========================

Command line cache of zookeeper node

v1.2.2(6y ago)113MITPHPPHP &gt;=7.0.0

Since Mar 11Pushed 6y ago1 watchersCompare

[ Source](https://github.com/yykpf/zookeeper-node-cache)[ Packagist](https://packagist.org/packages/yykpf/zookeeper-node-cache)[ RSS](/packages/yykpf-zookeeper-node-cache/feed)WikiDiscussions master Synced today

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

zk节点命令行缓存工具
===========

[](#zk节点命令行缓存工具)

### 命令行缓存

[](#命令行缓存)

### 使用方法

[](#使用方法)

```
1、引入项目

    composer require yykpf/zookeeper-node-cache

2、发布服务创建配置文件

     php artisan vendor:publish --provider='ZookeeperNodeCache\ZookeeperServiceProvider'

     lumen 需要引入  laravelista/lumen-vendor-publish 否则不存在 vendor:publish 这个命令
   有些服务可能不支持自动发布，就需要：
      1)、在config/app.php 中添加

          ```
             'providers' => [
                   ...
                   ZookeeperNodeCache\ZookeeperServiceProvider::class
             ],
             'aliases' => [
                  'zk' => ZookeeperNodeCache\Facades\ZookeeperFacade::class
              ],
          ```

     2)、查看是否存在文件 config/zookeepercache.php,如果没有就创建 并复制 config.php 内容进去
3、通过执行以下命令来开启zk缓存，缓存方式在config文件配置zookeepercache[支持文件和redis两种方式]

4、通过配置local_env变量来开启是否支持本地env缓存

5、执行命令 php artisan zookeeper:node:cache

6、调用方式 ($node 监听路劲[路径+版本号]下的节点值)
    use zk;

        zk::getNode($node)

7、如果想使用env缓存(目前支持文件类型的缓存)
    use zk;

        zk::putZkEnv()

```

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 63.6% 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 ~4 days

Total

6

Last Release

2282d ago

### Community

Maintainers

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

---

Top Contributors

[![yykpf1206](https://avatars.githubusercontent.com/u/18073705?v=4)](https://github.com/yykpf1206 "yykpf1206 (7 commits)")[![yykpf](https://avatars.githubusercontent.com/u/14089155?v=4)](https://github.com/yykpf "yykpf (4 commits)")

### Embed Badge

![Health badge](/badges/yykpf-zookeeper-node-cache/health.svg)

```
[![Health](https://phpackages.com/badges/yykpf-zookeeper-node-cache/health.svg)](https://phpackages.com/packages/yykpf-zookeeper-node-cache)
```

###  Alternatives

[unopim/unopim

UnoPim Laravel PIM

10.5k2.4k](/packages/unopim-unopim)[rhubarbgroup/redis-cache

A persistent object cache backend for WordPress powered by Redis. Supports Predis, PhpRedis, Relay, replication, sentinels, clustering and WP-CLI.

527101.4k1](/packages/rhubarbgroup-redis-cache)[symfony-bundles/redis-bundle

Symfony Redis Bundle

291.2M6](/packages/symfony-bundles-redis-bundle)[millipress/millicache

WordPress Full-Page Cache based on Rules &amp; Flags. Delivers flexible, scalable caching workflows backed by Redis and ValKey in-memory stores.

722.9k2](/packages/millipress-millicache)[pdffiller/qless-php

PHP Bindings for qless

29113.7k2](/packages/pdffiller-qless-php)[lion/bundle

Lion-framework configuration and initialization package

122.3k4](/packages/lion-bundle)

PHPackages © 2026

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