PHPackages                             beauty-framework/jobs - 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. beauty-framework/jobs

ActiveLibrary

beauty-framework/jobs
=====================

Beauty Jobs

1.0.1(11mo ago)0142MITPHPPHP &gt;=8.1

Since Jun 10Pushed 11mo agoCompare

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

READMEChangelog (2)Dependencies (4)Versions (3)Used By (2)

Beauty Jobs
===========

[](#beauty-jobs)

This package provides a RoadRunner-compatible jobs system for the Beauty PHP framework, with Laravel-style fluent APIs, DI container support, and full PSR compatibility.

---

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

[](#installation)

```
composer require beauty-framework/jobs
```

---

Features
--------

[](#features)

- Works with RoadRunner pipelines
- Works with `memory`, `AMQP`, `Kafka`, etc.
- Fluent Job options API: `withDelay()`, `onQueue()`, `tags()`
- Uses `Opis\Closure` for serializable job payloads
- Integrates with DI container (`ContainerInterface`)

---

Requirements
------------

[](#requirements)

- RoadRunner installed and configured
- jobs plugin configured in `.rr.yaml`
- PHP 8.1+

---

Creating a Job
--------------

[](#creating-a-job)

To generate a job, use the built-in console command:

```
./beauty generate:job TestJob
```

This will create `app/Jobs/TestJob.php` with a default stub implementation.

### Example job:

[](#example-job)

```
