PHPackages                             arxeiss/sansdaemon - 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. arxeiss/sansdaemon

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

arxeiss/sansdaemon
==================

Batch process Laravel Queue without a daemon; Processes queue jobs and kills the process

v1.3.2(2mo ago)95.8k—1.2%1MITPHPPHP ^8.0CI passing

Since Jul 23Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/arxeiss/sansdaemon)[ Packagist](https://packagist.org/packages/arxeiss/sansdaemon)[ RSS](/packages/arxeiss-sansdaemon/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (3)Dependencies (10)Versions (6)Used By (0)

SansDaemon
==========

[](#sansdaemon)

> This is fork of  which wasn't maintained anymore.

[![PHP from Packagist](https://camo.githubusercontent.com/f40c0b25e6daf2fb538905e3541fcc199ada246d25cca9ac2870216231848cbf/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f617278656973732f73616e736461656d6f6e)](https://packagist.org/packages/arxeiss/sansdaemon)[![Packagist Version](https://camo.githubusercontent.com/470154ac6f7d4a4b2af306679e543a56a438e55bd9b66792325a523f06fbd01b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f617278656973732f73616e736461656d6f6e)](https://packagist.org/packages/arxeiss/sansdaemon)[![Illuminate Version](https://camo.githubusercontent.com/4be72ea97eb9e257cc3a4544ec6c91ad8340908d67722ec7055b1c29c94b9534/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646570656e64656e63792d762f617278656973732f73616e736461656d6f6e2f696c6c756d696e617465253246737570706f7274)](https://camo.githubusercontent.com/4be72ea97eb9e257cc3a4544ec6c91ad8340908d67722ec7055b1c29c94b9534/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646570656e64656e63792d762f617278656973732f73616e736461656d6f6e2f696c6c756d696e617465253246737570706f7274)[![Build](https://github.com/arxeiss/sansdaemon/actions/workflows/lint-stan-test.yaml/badge.svg)](https://github.com/arxeiss/sansdaemon/actions/workflows/lint-stan-test.yaml)[![codecov](https://camo.githubusercontent.com/3021f3cf9752925f36cfb16eea755cdfecb555eecfa7d141d20819ef133b28dc/68747470733a2f2f636f6465636f762e696f2f67682f617278656973732f73616e736461656d6f6e2f67726170682f62616467652e7376673f746f6b656e3d525546554b4e39415a4c)](https://codecov.io/gh/arxeiss/sansdaemon)[![PHP STAN](https://camo.githubusercontent.com/5fe352be1e70f132156b303b733d2d96ed13b19dfef9679b4ea7b0e8ac7b8f90/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068707374616e2d6c6576656c253230382d696e666f726d6174696f6e616c)](https://github.com/phpstan/phpstan)

Introduction
------------

[](#introduction)

Batch process Laravel Queue without a daemon; Processes all jobs on the queue(s) and exits without running on daemon mode. This is useful in cases where you just want to process jobs on the queue and exit the worker process so they don't pile up in memory. Or when you want to run queue jobs on some routes.

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

[](#installation)

To install the latest version of SansDaemon, simply use composer

### Download

[](#download)

```
composer require arxeiss/sansdaemon
```

Usage
-----

[](#usage)

SansDaemon is a console application that extends the functionality of laravel's `WorkCommand` - `Illuminate\Queue\Console\WorkCommand`. *See* [Laravel Queue](https://laravel.com/docs/queues) documentation.

To run the queue worker sans-daemon mode, simply add the `--sansdaemon` option to the original laravel queue worker command:

```
php artisan queue:work --sansdaemon
```

Argument and Options
--------------------

[](#argument-and-options)

Since this package extends laravel's `WorkCommand`, it takes exactly all the arguments and options the original WorkCommand takes with three added options:

- `--sansdaemon` option tell the worker to process jobs on the queue without running in daemon mode.
- `--jobs` (default: 0, optional) - It allows you to specify the number of jobs to process each time the command runs. The default value `0` means it'll process all available jobs in the queue.
- `--max_exec_time` (default: `ini_get('max_execution_time') - 5s`, optional) - On some webhosts, your scripts will be killed, if it exceeds some amount of time. To prevent this behavior on really full queue, worker will stop after `--max_exec_time`. This is especially useful if you're running this command via your application's route or controller. See [Laravel Documentation](https://laravel.com/docs/artisan#programmatically-executing-commands) on how to run your queue programmatically.

#### Note on `--max_exec_time`

[](#note-on---max_exec_time)

- `0` (zero) means the worker will run forever, which in this context means until the worker process is done. This is the default behavior when run from CLI.
- This option will not prevent `Maximum execution time exceeded` error, it'll try to avoid it by not running the next job on the queue if the script is reaching its [max\_execution\_time](http://php.net/manual/en/info.configuration.php#ini.max-execution-time).

Contributing
------------

[](#contributing)

Feel free to open PR, just make sure you pass all tests and checks.

```
composer test
composer lint
composer stan
```

###  Health Score

46

—

FairBetter than 92% of packages

Maintenance86

Actively maintained with recent releases

Popularity30

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~320 days

Total

3

Last Release

69d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1347794365895adc762fab67e3e8bd39460ab7be355626bd666ec2c28e53dd49?d=identicon)[arxeiss](/maintainers/arxeiss)

---

Top Contributors

[![arxeiss](https://avatars.githubusercontent.com/u/5103109?v=4)](https://github.com/arxeiss "arxeiss (11 commits)")

---

Tags

laravelqueue

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/arxeiss-sansdaemon/health.svg)

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

###  Alternatives

[laravel/horizon

Dashboard and code-driven configuration for Laravel queues.

4.2k95.4M306](/packages/laravel-horizon)[harris21/laravel-fuse

Circuit breaker for Laravel queue jobs. Protect your workers from cascading failures.

44855.7k](/packages/harris21-laravel-fuse)[nuwber/rabbitevents

The Nuwber RabbitEvents package

122529.7k4](/packages/nuwber-rabbitevents)

PHPackages © 2026

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