Note: This release introduces backwards incompatible changes with all previous versions of php-resque. Please see below for details.
Redisent has always been the Redis backend for php-resque because of its lightweight nature. Unfortunately, Redisent is largely unmaintained.
Credis is a fork of Redisent, which among other improvements will automatically use the phpredis native PHP extension if it is available. (you want this for speed, trust me)
php-resque now utilizes Credis for all Redis based operations. Credis automatically required and installed as a Composer dependency.
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.
Changes by iskandar introduce improved support for using DSNs to connect to Redis. You can now utilize the following formatted strings for the REDIS_BACKEND environment variable to connect:
hosthost:portredis://host:portredis://host:port/dbredis://user:pass@host:port/ (username is required but will be ignored)tcp://user:pass@host:port/ (username is required but will be ignored)resque.php has been moved to bin/resque, and is available as vendor/bin/resque when php-resque is installed as a Composer package.composer install --dev)SETEX to list of commands which supply a key as the first argument in Redisent (danhunsaker)Resque_Redis to remove the namespace applied to Redis keys (tonypiper)beforeEnqueue hook, called before a job is placed on a queueNote: This release is largely backwards compatible with php-resque 1.1. The next release will introduce backwards incompatible changes (moving from Redisent to Credis), and will drop compatibility with PHP 5.2.
require_once when including php-resque after the app has been included in the sample resque.php to prevent include conflicts (andrewjshults)ps to remove any prepended whitespace (KevBurnsJr)getenv instead of $_ENV for better portability across PHP configurations (hobodave)APP_INCLUDE environment variable not loading correctly.$child when exiting on non-forking operating systemsPIDFILE environment variable to write out a PID for single running workersHow can I help you explore Laravel packages today?