Download the PHP package workbunny/webman-shared-cache without Composer

On this page you can find all versions of the php package workbunny/webman-shared-cache. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package webman-shared-cache

workbunny

workbunny/webman-shared-cache

🐇 A lightweight shared cache for webman plugin. 🐇

A lightweight shared cache for webman plugin

Build Status Latest Stable Version PHP Version Require GitHub license

常见问题

1. 它与 Redis/Memcache 的区别

2. 它的使用场景

3. 与redis简单的比较

简介

安装

  1. 自行安装APCu拓展

  2. 安装composer包

  3. 使用命令进行php.ini的配置
    • 进入 /config/plugin/workbunny/webman-shared-cache 目录
    • 运行

使用

注:\Workbunny\WebmanSharedCache\Cache::$fuse为全局阻塞保险

1. Cache基础使用

2. RateLimiter插件

高效轻量的亲缘进程限流器

  1. 在/config/plugin/workbbunny/webman-shared-cache/rate-limit.php中配置
  2. 在使用的位置调用
    • 当没有执行限流时,返回空数组
    • 当执行但没有到达限流时,返回数组is_limit为false
    • 当执行且到达限流时,返回数组is_limit为true

3. Cache的Channel功能

其他功能具体可以参看代码注释和测试用例


All versions of webman-shared-cache with dependencies

PHP Build Version
Package Version
Requires php Version ^8.0
ext-apcu Version *
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package workbunny/webman-shared-cache contains the following files

Loading the files please wait ....