Download the PHP package mle86/wq without Composer

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

WQ (mle86/wq)

Build Status Coverage Status Latest Stable Version PHP 8 License

This package provides an easy way to put PHP tasks of any kind into a work queue such as Beanstalkd or Redis to execute them at a later time.

This is version 0.21.1.

Installation and Dependencies

It requires PHP 8.0+ and has no other dependencies (apart from PHPUnit/Coveralls for development and the PSR-3 interfaces).

Adapter Implementations

You'll also want to install at least one other package which contains a WorkServerAdapter implementation, such as:

Basic Concepts

Different work queues, or tubes, are commonly used to separate job types. For example, the same work server might have one “mail” queue for outgoing mails to be sent, one “cleanup” queue for all kinds of clean-up jobs, and one “webhook” queue for outgoing web-hook calls.

This package provides some helpful classes to set up a simple work queue system.

Quick Start

This is our Job implementation. It represents an e-mail that can be sent.

We have some code using that e-mail class:

And finally, we have our background worker script which regularly checks the work server for new e-mail jobs:

Documentation

  1. Implementing a Job class
  2. Execute or Queue
  3. Work the Queue
  4. Error Handling
  5. Usage Examples

Class reference:


All versions of wq with dependencies

PHP Build Version
Package Version
Requires php Version >=8.0
psr/log Version ^1.0 | ^2.0 | ^3.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 mle86/wq contains the following files

Loading the files please wait ....