Download the PHP package yd/ydredis without Composer

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

YdRedis ---- redis库的封装,主要是加了日志,增加了 redis/sentinel/cluster 配置的支持

说明

本库是基于redis扩展,进行了业务使用上的封装

  1. 统一 单节点/sentinel/cluster 连接的配置
  2. 增加日志,如不配置则写到php的默认日志;也可以写到指定的日志文件。
  3. 每个redis可以指定自己的日志(setLogger),也可以指定全局的日志(setDefaultLogger)

Copyright & License

YdRedis, redis扩展的二次封装, 版权所有 2018- 菁武. 代码遵守 MIT 协议, 见 LICENSE 文件。

Versions & Requirements

0.4.0, PHP >=5.4.0

Usage

Add yd/ydredis as a dependency in your project's composer.json file (change version to suit your version of Elasticsearch):

配置 redis.conf

示例

日志示例

测试Redis环境

更新日志


All versions of ydredis with dependencies

PHP Build Version
Package Version
Requires php Version >=5.4.0
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 yd/ydredis contains the following files

Loading the files please wait ....