PHPackages                             adbros/worker - 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. adbros/worker

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

adbros/worker
=============

Simple interactive worker for doing hard jobs.

v0.4.2(2y ago)119.8k↓34.6%MITPHPPHP &gt;=7.4

Since Apr 10Pushed 2y ago1 watchersCompare

[ Source](https://github.com/adbrosaci/worker)[ Packagist](https://packagist.org/packages/adbros/worker)[ RSS](/packages/adbros-worker/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (9)Versions (23)Used By (0)

Worker
======

[](#worker)

Simple interactive worker for doing hard jobs. Inspired by [symfony/maker-bundle](https://github.com/symfony/maker-bundle).

---

[![Build Status](https://camo.githubusercontent.com/c278fe4e3bec932815cff2079231f03d5672c82ee78c68dc53e9ac44e08b17ff/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f636f6d2f616462726f736163692f776f726b65722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.com/adbrosaci/worker)[![Code coverage](https://camo.githubusercontent.com/7cc40af8937f10384109f720733cca7cfe21d08da89b42c7a462cb010d8cbfed/68747470733a2f2f696d672e736869656c64732e696f2f636f766572616c6c732f616462726f736163692f776f726b65722e7376673f7374796c653d666c61742d737175617265)](https://coveralls.io/r/adbrosaci/worker)[![Licence](https://camo.githubusercontent.com/fa4b3214eca63a93a03581f67f9e1081cc69af585f1470d993fc42f689484561/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f616462726f732f776f726b65722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/adbros/worker)[![Downloads this Month](https://camo.githubusercontent.com/5a1c1e5f7f2289ba63ed36f9e25f94b54bd3a495d1cf01384e17eecc4ba9cadf/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f616462726f732f776f726b65722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/adbros/google)[![Downloads total](https://camo.githubusercontent.com/97598180eea6fff9d9b039ff7be35d6716d454ed7f9ca9e6c2db66e6809a0e68/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f616462726f732f776f726b65722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/adbros/worker)[![Latest stable](https://camo.githubusercontent.com/f4fa74b98dcd1a1bdd7ce0e8a73b810d549fc16d4ede0c5183f4dd1d33355b5d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f616462726f732f776f726b65722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/adbros/worker)

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

[](#installation)

```
composer require adbros/worker --dev
```

Configuration
-------------

[](#configuration)

You can create worker.php, worker.json or worker.neon in your root directory to setup default Worker options.

### default worker.neon example

[](#default-workerneon-example)

```
rootDirectory: app
rootNamespace: App

command:
    namespace: App\Commands
    parent: Symfony\Component\Console\Command\Command

control:
    namespace: App\Controls
    controlParent: Nette\Application\UI\Control
    factoryParent:

orm:
    namespace: App\Model\Orm
    entityParent: Nextras\Orm\Entity\Entity
    repositoryParent: Nextras\Orm\Repository\Repository
    mapperParent: Nextras\Orm\Mapper\Mapper

presenter:
    namespace: App\Presenters
    parent: Nette\Application\UI\Presenter
```

Usage
-----

[](#usage)

```
# Generate command for symfony/console package
vendor/bin/worker command [options] [--] []

# Generate control with factory and template
vendor/bin/worker control [options] [--] []

# Generate model for nextras/orm package
vendor/bin/worker orm [options] [--] [ []]

# Generate presenter and default template
vendor/bin/worker presenter [options] [--] []
```

Examples
--------

[](#examples)

### ormJob

[](#ormjob)

[![ormJob](.docs/ormJob.png)](.docs/ormJob.png)

### presenterJob

[](#presenterjob)

[![presenterJob](.docs/presenterJob.png)](.docs/presenterJob.png)

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 97.6% 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 ~82 days

Recently: every ~362 days

Total

19

Last Release

742d ago

PHP version history (2 changes)v0.1PHP &gt;=7.1

v0.4PHP &gt;=7.4

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/13311472?v=4)[Martin Brettschneider](/maintainers/martenb)[@martenb](https://github.com/martenb)

---

Top Contributors

[![martenb](https://avatars.githubusercontent.com/u/13311472?v=4)](https://github.com/martenb "martenb (41 commits)")[![frees11](https://avatars.githubusercontent.com/u/1942987?v=4)](https://github.com/frees11 "frees11 (1 commits)")

---

Tags

consoleutilitynettegeneratorormpresenter

### Embed Badge

![Health badge](/badges/adbros-worker/health.svg)

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

###  Alternatives

[kdyby/doctrine

Doctrine integration into Nette Framework

1091.0M86](/packages/kdyby-doctrine)[uestla/yetorm

Lightweight ORM for Nette\\Database

4936.4k](/packages/uestla-yetorm)[modul-is/orm

Lightweight hybrid ORM/Explorer

1118.1k](/packages/modul-is-orm)

PHPackages © 2026

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