Download the PHP package daalvand/retry-policy without Composer
On this page you can find all versions of the php package daalvand/retry-policy. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download daalvand/retry-policy
More information about daalvand/retry-policy
Files in daalvand/retry-policy
Download daalvand/retry-policy
More information about daalvand/retry-policy
Files in daalvand/retry-policy
Vendor daalvand
Package retry-policy
Short Description This package is for doing jobs with high reliability
License MIT
Package retry-policy
Short Description This package is for doing jobs with high reliability
License MIT
Please rate this library. Is it a good library?
Informations about the package retry-policy
preview
- This package is for doing jobs with high reliability
installation
install package
run
composer require daalvand/retry-policy
publish provider
Laravel
php artisan vendor:publish --provider="Daalvand\RetryPolicy\RetryPolicyServiceProvider"
Lumen
- Add the service provider to
bootstrap/app.php
file:
Copy the config files from /vendor/daalvand/retry-policy/src/config
to config
directory. Then configure it in /bootstrap/app.php
file:
run php artisan migrate
to migrate failed jobs table
Usage
Example
- extends your retryable from
Retryable abstract
:
for consume failed retryables to streamer run following Command:
retry_policy:consumer
for requeue from failed jobs table add following command in kernel.php
or os crontab
retry_policy:requeue
`
activity diagram
All versions of retry-policy with dependencies
PHP Build Version
Package Version
Requires
php Version
^7.4|^8.0
daalvand/kafka Version ^1
ext-json Version *
ext-rdkafka Version *
opis/closure Version ^3.5
spatie/async Version ^1.5
daalvand/kafka Version ^1
ext-json Version *
ext-rdkafka Version *
opis/closure Version ^3.5
spatie/async Version ^1.5
The package daalvand/retry-policy contains the following files
Loading the files please wait ....