Download the PHP package iglocska/php-resque-ex without Composer

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

Php-Resque-ex: Resque for PHP Build Status

Resque is a Redis-backed library for creating background jobs, placing those jobs on multiple queues, and processing them later.

Background

Php-Resque-Ex is a fork of php-resque by chrisboulton. See the original README for more informations.

Additional features

This fork provides some additional features :

Support of php-redis

Autodetect and use phpredis to connect to Redis if available. Redisent is used as fallback.

Powerfull logging

Instead of piping STDOUT output to a file, you can log directly to a database, or send them elsewhere via a socket. We use Monolog to manage all the logging. See their documentation to see all the available handlers.

Log infos are augmented with more informations, and associated with a workers, a queue, and a job ID if any.

Job creation delegation

If Resque_Job_Creator class exists and is found by Resque, all jobs creation will be delegated to this class.

The best way to inject this class is to include it in you APP_INCLUDE file.

Class content is :

This is pretty useful when your autoloader can not load the class, like when classname doesn't match its filename. Some framework, like CakePHP, uses PluginName.ClassName convention for classname, and require special handling before loading.

Failed jobs logs

You can easily retrieve logs for a failed jobs in the redis database, their keys are named after their job ID. Each failed log will expire after 2 weeks to save space.

Command Line tool

Fresque is shipped by default to manage your workers. See Fresque Documentation for usage.

Installation

Clone the git repo

$ git clone git://github.com/wa0x6e/php-resque-ex.git

cd into the folder you just cloned

$ cd ./php-resque-ex

Download Composer

$ curl -s https://getcomposer.org/installer | php

Install dependencies

$ php composer.phar install

Warning

php-resque requires the pcntl php extension, not available on Windows platform. Composer installation will fail if you're trying to install this package on Windows machine. If you still want to continue with the installation at your own risk, execute the composer install command with the --ignore-platform-reqs option.

Usage

Logging

Use the same way as the original port, with additional ENV :

If one of these two environement variable is missing, it will default to RotatingFile Handler.

Redis backend

Requirements

Contributors


All versions of php-resque-ex with dependencies

PHP Build Version
Package Version
Requires php Version >=7.2.0
ext-pcntl Version *
monolog/monolog Version >=2.5.0
iglocska/monolog-init Version >=0.1.1
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 iglocska/php-resque-ex contains the following files

Loading the files please wait ....