Skip to content

Commit 2ba15eb

Browse files
committed
replace Redisent with Credis (also adds native phpredis support)
1 parent a6eb8e1 commit 2ba15eb

File tree

11 files changed

+81
-919
lines changed

11 files changed

+81
-919
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22

33
**Note:** This release introduces backwards incompatible changes with all previous versions of php-resque. Please see below for details.
44

5+
### Redisent (Redis Library) Replaced with Credis
6+
7+
Redisent has always been the Redis backend for php-resque because of its lightweight nature. Unfortunately, Redisent is largely unmaintained.
8+
9+
[Credis](http://example.com/) is a fork of Redisent, which among other improvements will automatically use the [phpredis](https://github.com/nicolasff/phpredis) native PHP extension if it is available. (you want this for speed, trust me)
10+
11+
php-resque now utilizes Credis for all Redis based operations. Credis automatically required and installed as a Composer dependency.
12+
513
### Composer Support
614

715
Composer support has been improved and is now the recommended method for including php-resque in your project. Details on Composer support can be found in the Getting Started section of the readme.

composer.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,15 @@
1111
"email": "[email protected]"
1212
}
1313
],
14+
"repositories": [
15+
{
16+
"type": "vcs",
17+
"url": "https://github.com/chrisboulton/credis"
18+
}
19+
],
1420
"require": {
15-
"php": ">=5.3.0"
21+
"php": ">=5.3.0",
22+
"colinmollenhour/credis": "dev-master"
1623
},
1724
"require-dev": {
1825
"phpunit/phpunit": "3.7.*"

0 commit comments

Comments
 (0)