Download the PHP package ucwords/zredis without Composer

On this page you can find all versions of the php package ucwords/zredis. 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 zredis

zredis

使用 PHP 实现的 redis 客户端,它能够清晰告诉你请求 redis 和接受到 redis 响应的原始报文格式。

简单使用

加载代码库

创建连接

使用

原始报文

该包部分代码借鉴于 predis, 命令及参数遵循 redis 格式和要求。不同的是每个命令的第一个参数控制是否打印原始报文。

当使用时候若想查看请求或响应的原始报文,第一个参数请赋值为 true。 当想正常使用如像 predis 时候,第一个参数请赋值为 false。

简单例子如下:

单行回复 示例

Redis 回复的第一个字节为 “+” 表示单行回复。

错误消息 示例

Redis 回复的第一个字节为 “-” 表示错误消息。 比如我们对一个 string 类似的key,执行 hget 指令。

整型数字消息 示例

Redis 回复的第一个字节为 “:” 表示整型数字回复。 如判断一个 key 是否存在。

批量回复消息 示例

Redis 回复的第一个字节为 “$” 表示批量回复。

多个批量回复消息 示例

Redis 回复的第一个字节为 “*” 表示多个批量回复,如使用 hgetall 指令。


All versions of zredis with dependencies

PHP Build Version
Package Version
No informations.
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 ucwords/zredis contains the following files

Loading the files please wait ....