{"id":36374947,"url":"https://github.com/orobogenius/sansdaemon","last_synced_at":"2026-01-11T14:46:32.893Z","repository":{"id":32705900,"uuid":"141053055","full_name":"orobogenius/sansdaemon","owner":"orobogenius","description":"Batch process Laravel Queue without a daemon; Processes queue jobs and kills the process","archived":false,"fork":false,"pushed_at":"2024-07-19T21:07:05.000Z","size":46,"stargazers_count":177,"open_issues_count":3,"forks_count":17,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-11-17T03:36:28.317Z","etag":null,"topics":["laravel","laravel-queues","php","queue","queue-workers","shared-host","worker-process"],"latest_commit_sha":null,"homepage":"https://medium.com/@orobogenius/laravel-queue-processing-on-shared-hosting-dedd82d0267a","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/orobogenius.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-07-15T19:33:12.000Z","updated_at":"2024-11-04T06:26:39.000Z","dependencies_parsed_at":"2024-06-18T15:40:24.225Z","dependency_job_id":null,"html_url":"https://github.com/orobogenius/sansdaemon","commit_stats":{"total_commits":42,"total_committers":9,"mean_commits":4.666666666666667,"dds":0.6904761904761905,"last_synced_commit":"65630b85afd276016c59578790ab6f110581234f"},"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/orobogenius/sansdaemon","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orobogenius%2Fsansdaemon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orobogenius%2Fsansdaemon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orobogenius%2Fsansdaemon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orobogenius%2Fsansdaemon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/orobogenius","download_url":"https://codeload.github.com/orobogenius/sansdaemon/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orobogenius%2Fsansdaemon/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28308386,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-11T14:27:22.573Z","status":"ssl_error","status_checked_at":"2026-01-11T14:27:21.986Z","response_time":60,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["laravel","laravel-queues","php","queue","queue-workers","shared-host","worker-process"],"created_at":"2026-01-11T14:46:32.427Z","updated_at":"2026-01-11T14:46:32.885Z","avatar_url":"https://github.com/orobogenius.png","language":"PHP","readme":"# SansDaemon\n\n[![Build Status](https://travis-ci.org/orobogenius/sansdaemon.svg?branch=master)](https://travis-ci.org/orobogenius/sansdaemon)\n[![Latest Stable Version](https://poser.pugx.org/queueworker/sansdaemon/v/stable)](https://packagist.org/packages/queueworker/sansdaemon)\n[![Total Downloads](https://poser.pugx.org/queueworker/sansdaemon/downloads)](https://packagist.org/packages/queueworker/sansdaemon)\n[![License](https://poser.pugx.org/queueworker/sansdaemon/license)](https://packagist.org/packages/queueworker/sansdaemon)\n## Introduction\nBatch 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.\n\n## Installation\n\nTo install the latest version of SansDaemon, simply use composer\n\n### Download\n\n```\ncomposer require queueworker/sansdaemon\n```\n\n- If your Laravel version is below 5.5, you'll need to add the service provider to your ```config/app.php``` file.\n\n```php\nQueueworker\\SansDaemon\\SansDaemonServiceProvider::class,\n```\n\n## Usage\nSansDaemon 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.\n\nTo run the queue worker sans-daemon mode, simply add the ```--sansdaemon``` option to the original laravel queue worker command:\n\n```\nphp artisan queue:work --sansdaemon\n```\n\n## Argument and Options\nSince this package extends laravel's `WorkCommand`, it takes exactly all the arguments and options the original WorkCommand takes with three added options:\n\n- `--sansdaemon` option tell the worker to process jobs on the queue without running in daemon mode.\n- `--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.\n- `--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.\n\n#### Note on `--max_exec_time`\n- `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.\n- 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)\n\n## Testing\n```\ncomposer test\n```\n\n## License\n\nMIT license (MIT) - Check out the [License File](LICENSE) for more.","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Forobogenius%2Fsansdaemon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Forobogenius%2Fsansdaemon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Forobogenius%2Fsansdaemon/lists"}