Download the PHP package clue/redis-server without Composer

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

clue/redis-server Build Status

A Redis server implementation in pure PHP. Not for the faint-hearted.

Note: This project is in early alpha stage! Feel free to report any issues you encounter.

Introduction

Motivation

Redis is a fast in-memory key-value database. This project aims to provide a simple alternative to the official Redis server implementation if installing it is not an option.

Why would I use this project if I already have the official Redis server installed? Simply put, you wouldn't. Ever.

Project goals

Supported commands

Eventually, this project aims to replicate all commands of the official Redis server implementation and their exact behavior.

So far, the following list of commands shows what's already implemented:

For details, refer to the excellent official documentation of Redis commands.

All available commands are expected to behave just like their counterparts in Redis v2.6+, unless otherwise noted. If you find a command to misbehave, don't hesitate to file a bug.

Obviously, this list is incomplete in that it does not include every command supported by Redis. If you find a command is missing, please submit a PR :)

Benchmarking performance

As usual, just about every benchmark is biased - you've been warned.

You can use the redis-benchmark script that is included when installing the official Redis server.

Some benchmarking results:

So depending on your configuration, expect the original implementation to be 2x to 5x as fast. Some thoughts that have a significant effect on the performance:

Quickstart example

Once installed, you can start the Redis server by running the provided bin file:

Alternatively, you can also use this project as a lib in order to build your own server like this:

Install

The recommended way to install this library cloning this repo and installing its dependencies through composer. New to composer?

Docker

This project is also available as a docker image. Using the clue/php-redis-server image is as easy as running this:

License

MIT


All versions of redis-server with dependencies

PHP Build Version
Package Version
Requires php Version >=5.3
react/promise Version ~1.0|~2.0
react/socket Version 0.3.*|0.4.*
react/event-loop Version 0.3.*|0.4.*
clue/redis-protocol Version 0.3.*
evenement/evenement Version ~1.0|~2.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 clue/redis-server contains the following files

Loading the files please wait ....