New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

razorpay/lqext

Laravel queue enhancements, failure handling & retries.
66,039 1

Larablocks Analysis

razorpay/lqext works with Laravel 10 (latest release 5.0.0, Apr 8, 2024), which reached end of life on Feb 4, 2025: no more fixes, even for security.

Laravel 5, 6 and 9 in earlier releases.

Recommendation checks

Use with care

Use with care: meets 0 of 4 checks.

  • Supports only Laravel 10, past end of life since Feb 4, 2025
  • No release in the last 12 months (last: Apr 8, 2024)
  • 13 downloads a month (needs 10,000)
  • 1 GitHub star (needs 100)

State

Quiet
  • Last stable release: Apr 8, 2024.
  • No releases in the last 12 months.
  • First released: Dec 10, 2019.
  • Monthly downloads: 13.
  • 5 open issues on GitHub.

Data from Packagist and GitHub, checked by Larablocks on Nov 29, 2026.

Install
composer require razorpay/lqext
Latest Version:5.0.0
PHP:>=8.1
Laravel:10
Older releases:5 · 6 · 9
Last Updated:Jul 15, 2026
Links: GitHub  ·  Packagist
Maintainer: razorpay

Build Status

lqext

What

  1. Makes Laravel's dispatchers which are buses, events & mailable, transaction
    aware. I.e. dispatching events, jobs or mailable, be it queued or sync in
    complex flows, inside nested transaction etc will work as normal expectation.

  2. Makes Laravel's queued dispatcher to log failures to redis storage and
    adds support for re attempting those failed remote pushes.
    Because of a minor
    issue
    in framework's code the logging queue push failures part errors right.
    now. Please wait while a workaround is added.

How

Thanks to framework's design which allows extending any service of its easily
and within limits.

The library extends a very few methods of events, mailer, dispatcher, queue
factory & queue services of framework. The extending is done via decoration
pattern instead of sub-classing.

Use

Install using composer

composer require jitendra/lqext

Copy configuration

cp vendor/jitendra/lqext/src/config.php config/lqext.php

Transaction aware dispatching

Besides whitelisting dispatch-able names in above config file, we can use below
trait in any of job, mailable classes.

class Job
{
    use \Jitendra\Lqext\TransactionAware;

    // ...
}

Logging queue push failures

Uses default redis connection and maintains log of jobs which failed push to
remote service in a list. Also Laravel's queue manager will have a method now
to retery failed pushes.

// Retry last 1k failed to push jobs. You could add a controller or write a  
// CLI command and invoke this method call from there.  
$this->app->queue->retryFailedToPushJobs();

Related Packages

doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

670,032,257 9,703
laravel/framework

The Laravel Framework.

640,572,096 35,338
laravel/tinker

Powerful REPL for the Laravel framework.

546,909,908 7,440
laravel/serializable-closure

Laravel Serializable Closure provides an easy and secure way to serialize closur...

465,816,364 607
nunomaduro/collision

Cli error handling for console/command-line PHP applications.

431,187,642 4,660

Version History

Version Released PHP Laravel License
5.0.0 >=8.1 ^10.0
4.0.2 >=8.1 ^9.0
4.0.1 >=8.1 ^9.0
4.0.0 >=8.1 ^9.0
3.0.0 >=7.2 ^6.0