PHPackages                             shamiao/l4mysqlqueue - 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. shamiao/l4mysqlqueue

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

shamiao/l4mysqlqueue
====================

A laravel 4 queue driver using MySQL database, developed for small websites.

1.0.1(11y ago)91.6k7[1 PRs](https://github.com/shamiao/l4mysqlqueue/pulls)MITPHPPHP &gt;=5.4.0

Since Oct 8Pushed 10y agoCompare

[ Source](https://github.com/shamiao/l4mysqlqueue)[ Packagist](https://packagist.org/packages/shamiao/l4mysqlqueue)[ Docs](https://github.com/shamiao/l4mysqlqueue)[ RSS](/packages/shamiao-l4mysqlqueue/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (2)Versions (4)Used By (0)

l4mysqlqueue
============

[](#l4mysqlqueue)

A laravel 4 queue driver using MySQL database, developed for small websites on shared hosting.

Fully functional and 100% native. No special artisan commands for firing jobs required or provided.

[![Packagist version](https://camo.githubusercontent.com/a3b51bb6a50fef3d530f83ce1272e36d542df0fc91e86e9af4be89c512f22973/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7368616d69616f2f6c346d7973716c71756575652e737667)](https://packagist.org/packages/shamiao/l4mysqlqueue)[![Total downloads](https://camo.githubusercontent.com/92d9e9efe8bfae95ec8dc273622e6215d9ecda4a67b35b81978ea1b728f52614/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7368616d69616f2f6c346d7973716c71756575652e737667)](https://packagist.org/packages/shamiao/l4mysqlqueue)

Features
--------

[](#features)

- Support native `queue:listen`, `queue:work` and other artisan commands.
- Attempts count are recorded.
- Support multiple queues.
- Only use 1 table. Customizable table name .
- Works correctly with any database table prefix, collation and charset.
- MySQL only. (small changes may need for other types of database)

Installation
------------

[](#installation)

Add dependency to your `composer.json` and run `composer update`:

```
"shamiao/l4mysqlqueue": "~1.0"

```

Add service provider to configuration value `app.providers` in `config/app.php`:

```
'Shamiao\L4mysqlqueue\L4mysqlqueueServiceProvider'

```

Setup `mysql` driver in `config/queue.php`:

```
    'default' => 'mysql', // ... or any connection name you like

    'mysql' => array(
        'driver' => 'mysql',
        'queue'  => 'default', // Optional
        'table'  => 'queue',  // Optional
    ),

```

Run database migrations of this package before using it:

```
php artisan migrate --package="shamiao/l4mysqlqueue"

```

Configuration values
--------------------

[](#configuration-values)

### Default queue name

[](#default-queue-name)

- Configuration value: `queue.connections..queue`
- Optional, assumes `default` if not specified.
- Omitting this value is recommended.

### Table name

[](#table-name)

- Configuration value: `queue.connections..table`
- Optional, assumes `queue` if not specified.
- Omitting this value is recommended.
- No prefix (if your app uses table name prefix feature).

Firing jobs
-----------

[](#firing-jobs)

Just use `queue:listen` and `queue:work` artisan commands as [Queues page of Laravel Documentations](http://laravel.com/docs/queues) suggests.

On a shared hosting without shell access, consider adding following command to your cron jobs list to fire one job every minute:

```
* * * * * ( cd /home/username/your/laravel/dir; php artisan queue:work --tries=3; )

```

Notes
-----

[](#notes)

- You may need SSH access or cron jobs privileges in your cPanel/DirectAdmin control panel to run `composer` or `php artisan` console commands.
- Jobs are soft-deleted (only marking status as 'deleted' instead of SQL DELETE). Consider making your own schedule to delete deprecated jobs from database manually.

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 93.3% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~1 days

Total

3

Last Release

4231d ago

Major Versions

0.0.1 → 1.0.02014-10-09

### Community

Maintainers

![](https://www.gravatar.com/avatar/b5a342c88ba1b35b2d5a4663d0bdee35d7d407d02fbb6b6bd49c58b1e0b0a01b?d=identicon)[shamiao](/maintainers/shamiao)

---

Top Contributors

[![shamiao](https://avatars.githubusercontent.com/u/2707885?v=4)](https://github.com/shamiao "shamiao (14 commits)")[![sandebert](https://avatars.githubusercontent.com/u/3855726?v=4)](https://github.com/sandebert "sandebert (1 commits)")

---

Tags

laravelmysqlqueue

### Embed Badge

![Health badge](/badges/shamiao-l4mysqlqueue/health.svg)

```
[![Health](https://phpackages.com/badges/shamiao-l4mysqlqueue/health.svg)](https://phpackages.com/packages/shamiao-l4mysqlqueue)
```

###  Alternatives

[laravel/horizon

Dashboard and code-driven configuration for Laravel queues.

4.2k84.2M225](/packages/laravel-horizon)[kirschbaum-development/eloquent-power-joins

The Laravel magic applied to joins.

1.6k25.2M34](/packages/kirschbaum-development-eloquent-power-joins)[moharrum/laravel-adminer

Adminer database management tool for your Laravel application.

451.0k](/packages/moharrum-laravel-adminer)[mpyw/laravel-mysql-system-variable-manager

A tiny extension of MySqlConnection that manages session system variables

115.8k](/packages/mpyw-laravel-mysql-system-variable-manager)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
