Download the PHP package akbarali/rabbit-listener without Composer

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

Laravel RABBIT PHP Listener

TODO

Done ? Name Version
:hourglass_flowing_sand: Write a Sender for this Listener. Pending
:hourglass_flowing_sand: Fix bug in rabbit:terminate command Pending
:white_large_square: Writing documentation. In the future
:white_large_square: Add middleware method. In the future
:white_large_square: Add Docs Auth Middleware. In the future

Install

After installing Rabbit Listener, publish its assets using the rabbit:install Artisan command:

add .env rabbit configuration

Configuration

After publishing Rabbit Listener's assets, its primary configuration file will be located at config/rabbit.php. This configuration file allows you to configure the queue worker options for your application. Each configuration option includes a description of its purpose, so be sure to thoroughly explore this file.

Running Rabbit Listener

Once you have configured your supervisors and workers in your application's config/rabbit.php configuration file, you may start Rabbit Listener using the rabbit:listener Artisan command. This single command will start all the configured worker processes for the current environment:

You may pause the Rabbit Listener process and instruct it to continue processing jobs using the rabbit:pause and rabbit:continue Artisan commands:

Bonus

Deploying Rabbit Listener

When you're ready to deploy Rabbit Listener to your application's actual server, you should configure a process monitor to monitor the php artisan Rabbit Listener command and restart it if it exits unexpectedly. Don't worry, we'll discuss how to install a process monitor below. During your application's deployment process, you should instruct the Rabbit Listener process to terminate so that it will be restarted by your process monitor and receive your code changes:

Supervisor Configuration

Supervisor configuration files are typically stored within your server's /etc/supervisor/conf.d directory. Within this directory, you may create any number of configuration files that instruct supervisor how your processes should be monitored. For example, let's create a rabbit.conf file that starts and monitors a rabbit listener process:


All versions of rabbit-listener with dependencies

PHP Build Version
Package Version
Requires php Version >=8.2
ext-pcntl Version *
php-amqplib/php-amqplib Version ^3.6
ext-json Version *
ext-posix Version *
akbarali/action-data Version ^1.3.0
akbarali/data-object Version ^2.7.2
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 akbarali/rabbit-listener contains the following files

Loading the files please wait ....