PHPackages                             aaronfrancis/enqueue - 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. [Queues &amp; Workers](/categories/queues)
4. /
5. aaronfrancis/enqueue

ActiveLibrary[Queues &amp; Workers](/categories/queues)

aaronfrancis/enqueue
====================

Declarative job enqueueing with schedule-aware dispatch for Laravel

v0.1.0(4mo ago)40MITPHPPHP ^8.2CI passing

Since Dec 28Pushed 4mo agoCompare

[ Source](https://github.com/aarondfrancis/enqueue)[ Packagist](https://packagist.org/packages/aaronfrancis/enqueue)[ RSS](/packages/aaronfrancis-enqueue/feed)WikiDiscussions main Synced 1mo ago

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

Enqueue
=======

[](#enqueue)

[![Latest Version on Packagist](https://camo.githubusercontent.com/29305729a27d7d6f063de50f6f4eb8b2065ad361dcb9e4e74fcb8deb69cf4c8c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6161726f6e6672616e6369732f656e71756575652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/aaronfrancis/enqueue)[![Tests](https://github.com/aarondfrancis/enqueue/actions/workflows/tests.yaml/badge.svg)](https://github.com/aarondfrancis/enqueue/actions/workflows/tests.yaml)[![Total Downloads](https://camo.githubusercontent.com/1d43c4124e1423468b4af3151c454cd1997d2fd32333b19efb0b5d40d84a18be/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6161726f6e6672616e6369732f656e71756575652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/aaronfrancis/enqueue)[![PHP Version](https://camo.githubusercontent.com/53e64d25bcbc5a6b3a0c6dbbb0714e13fb50709147970dba6f6138a44240a409/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6161726f6e6672616e6369732f656e71756575652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/aaronfrancis/enqueue)[![License](https://camo.githubusercontent.com/27fdf683ad5e102270ae7cabc639426474e6322e67bc9d050c29aa03b34bb748/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6161726f6e6672616e6369732f656e71756575652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/aaronfrancis/enqueue)

Declarative job enqueueing with schedule-aware dispatch for Laravel.

Jobs often need to dispatch themselves on a schedule—syncing data every hour, processing uploads every few minutes, sending reports on weekdays. Normally this means scattering scheduling logic across `routes/console.php` while the job sits elsewhere, or writing awkward wrapper commands.

Enqueue lets the job own its entire lifecycle. Each job declares *how* to enqueue itself (maybe one instance per warehouse, or one per pending upload) and optionally *when* (hourly, weekdays, or custom logic). Run `jobs:enqueue` every minute and each job takes care of the rest.

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

[](#installation)

```
composer require aaronfrancis/enqueue
```

Usage
-----

[](#usage)

Implement the `Enqueueable` interface on any job:

```
