Download the PHP package pdffiller/laravel-queue-qless without Composer

On this page you can find all versions of the php package pdffiller/laravel-queue-qless. 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 laravel-queue-qless

Qless Queue driver for Laravel

Installation

You can install this package via composer using this command:

The package will automatically register itself using Laravel auto-discovery.

Setup connection in config/queue.php

Also you can set Qless queue as default in config/queue.php

Redis connection in config/database.php

And add Laravel Qless service provider to app.php

Usage

Once you completed the configuration you can use Laravel Queue API. If you used other queue drivers you do not need to change anything else. If you do not know how to use Queue API, please refer to the official Laravel documentation: http://laravel.com/docs/queues

Also you can use additional features.

Topics

Topic help you to put a job to different queues. First, you must to create a subscription. You can use pattern for name of topics. Symbol * - one word, # - few words divided by point .. Examples: first.second.*, *.second.*, #.third.

Than you can put job to all subscribers.

Custom Handler

Job Handler helps you to create a custom route for jobs.

Custom Handler example:

You must add to a service provider.

Recurring Jobs

Sometimes it's not enough simply to schedule one job, but you want to run jobs regularly. In particular, maybe you have some batch operation that needs to get run once an hour and you don't care what worker runs it. Recurring jobs are specified much like other jobs:

Sharding

If you compare Qless sharding with the DB sharding, then they have little in common. Qless gets random write-connection for all jobs. Data reading occurs in a circle from all connections.

Setup redis connections for sharding in config/database.php:

Then set the shards via redis_connection key in config/queue.php file:

Testing

You can run the tests with:

Contribution

You can contribute to this package by discovering bugs and opening issues. Please, add to which version of package you create pull request or issue. (e.g. [1.2] Fatal error on push job)

License

Laravel Qless Queue driver is open-sourced software licensed under the MIT License. See the LICENSE.txt file for more.

© 2018-2019 PDFfiller

All rights reserved.


All versions of laravel-queue-qless with dependencies

PHP Build Version
Package Version
Requires ext-json Version *
pdffiller/qless-php Version ^3.13
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 pdffiller/laravel-queue-qless contains the following files

Loading the files please wait ....