PHPackages                             ph4r05/laravel-queue-database-ph4 - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. ph4r05/laravel-queue-database-ph4

ActiveLibrary[Database &amp; ORM](/categories/database)

ph4r05/laravel-queue-database-ph4
=================================

Laravel Database queue driver with optimistic locking

v0.1.6(5y ago)5044.4k↓35%16[6 issues](https://github.com/ph4r05/laravel-queue-database-ph4/issues)[4 PRs](https://github.com/ph4r05/laravel-queue-database-ph4/pulls)MITPHPPHP ^7.2

Since Dec 23Pushed 2y ago4 watchersCompare

[ Source](https://github.com/ph4r05/laravel-queue-database-ph4)[ Packagist](https://packagist.org/packages/ph4r05/laravel-queue-database-ph4)[ RSS](/packages/ph4r05-laravel-queue-database-ph4/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (5)Versions (8)Used By (0)

Database Queue driver for Laravel with optimistic locking
=========================================================

[](#database-queue-driver-for-laravel-with-optimistic-locking)

[![Latest Stable Version](https://camo.githubusercontent.com/3b49dfbec6746d2977e4af58e6bead313f4f1b8a5c3b87206e50543f41d9592b/68747470733a2f2f706f7365722e707567782e6f72672f7068347230352f6c61726176656c2d71756575652d64617461626173652d7068342f762f737461626c653f666f726d61743d666c61742d737175617265)](https://packagist.org/packages/ph4r05/laravel-queue-database-ph4)[![Build Status](https://camo.githubusercontent.com/54ba47854bf4099b051702e22a1eb7331ad9e2e06388a0494399456206e7c184/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f7068347230352f6c61726176656c2d71756575652d64617461626173652d7068342e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/ph4r05/laravel-queue-database-ph4)[![Total Downloads](https://camo.githubusercontent.com/f3acee7cac7f80889f131b252c03c9c88e6fd92106a58da2b58f849255f68b0e/68747470733a2f2f706f7365722e707567782e6f72672f7068347230352f6c61726176656c2d71756575652d64617461626173652d7068342f646f776e6c6f6164733f666f726d61743d666c61742d737175617265)](https://packagist.org/packages/ph4r05/laravel-queue-database-ph4)[![StyleCI](https://camo.githubusercontent.com/fbd12fbc8d08278614d23777bd8032fc85dcce34c706b6100e0e25eaebe4a6ec/68747470733a2f2f7374796c6563692e696f2f7265706f732f3131353139363538312f736869656c64)](https://styleci.io/repos/115196581)[![License](https://camo.githubusercontent.com/49245127dc878c24969b3a0c3efe5192836278eee42629b068e710cd492cad4d/68747470733a2f2f706f7365722e707567782e6f72672f7068347230352f6c61726176656c2d71756575652d64617461626173652d7068342f6c6963656e73653f666f726d61743d666c61742d737175617265)](https://packagist.org/packages/ph4r05/laravel-queue-database-ph4)

Laravel database queue implementation using optimistic locking. Increases concurrency, eliminates deadlocks.

#### Installation

[](#installation)

1. Install this package via composer using:

```
composer require ph4r05/laravel-queue-database-ph4

```

2. Create job table

```
php artisan queue_ph4:table
php artisan migrate
```

3. Queue configuration

```
