{"id":15684544,"url":"https://github.com/jonassiewertsen/statamic-jobs","last_synced_at":"2025-04-15T22:50:33.574Z","repository":{"id":41821919,"uuid":"378285877","full_name":"jonassiewertsen/statamic-jobs","owner":"jonassiewertsen","description":"Handles failing jobs file based, if you have no database. Ideal for a default Statamic setup.","archived":false,"fork":false,"pushed_at":"2024-05-12T12:08:26.000Z","size":116,"stargazers_count":10,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-29T02:12:08.153Z","etag":null,"topics":["laravel","php","queue","statamic","statamic-addon"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jonassiewertsen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":null,"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},"funding":{"github":["jonassiewertsen"]}},"created_at":"2021-06-18T23:35:29.000Z","updated_at":"2024-05-12T12:08:02.000Z","dependencies_parsed_at":"2024-10-23T18:09:14.241Z","dependency_job_id":"072ad09f-b0eb-41da-bc4e-5760f0ca6865","html_url":"https://github.com/jonassiewertsen/statamic-jobs","commit_stats":{"total_commits":43,"total_committers":6,"mean_commits":7.166666666666667,"dds":0.5581395348837209,"last_synced_commit":"756e2142566b0a07d11e6dc4a73bb3a508f3b726"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonassiewertsen%2Fstatamic-jobs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonassiewertsen%2Fstatamic-jobs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonassiewertsen%2Fstatamic-jobs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonassiewertsen%2Fstatamic-jobs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jonassiewertsen","download_url":"https://codeload.github.com/jonassiewertsen/statamic-jobs/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249106123,"owners_count":21213659,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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","php","queue","statamic","statamic-addon"],"created_at":"2024-10-03T17:18:43.774Z","updated_at":"2025-04-15T22:50:33.555Z","avatar_url":"https://github.com/jonassiewertsen.png","language":"PHP","funding_links":["https://github.com/sponsors/jonassiewertsen","https://github.com/sponsors/jonassiewertsen/"],"categories":[],"sub_categories":[],"readme":"\u003c!-- statamic:hide --\u003e\n# Statamic Jobs\n![Statamic 3.1+](https://img.shields.io/badge/Statamic-3.1+-FF269E?style=for-the-badge\u0026link=https://statamic.com)\n[![Latest Version on Packagist](https://img.shields.io/packagist/v/jonassiewertsen/statamic-jobs.svg?style=for-the-badge)](https://packagist.org/packages/jonassiewertsen/statamic-jobs)\n\u003c!-- /statamic:hide --\u003e\n\nThis addon does provide a simple solution for small Statamic setups:\nA failing job will be saved as flat file in the `storage`. \n\nWhy should I use this addon?\nLaravel does handle failed jobs by default, but does need a database. What if your Statamic setup does not have or need a database?\n\nWell ... failing jobs can not be handled!\n\n## Installation\n\n### 1. Require the package\n```bash\ncomposer require jonassiewertsen/statamic-jobs\n```\n\n### 2. Configure the `Failed Queue Jobs` Driver\n```php\n// config/queue.php\n\n    'failed' =\u003e [\n        'driver' =\u003e env('QUEUE_FAILED_DRIVER', 'file'),\n        // 'storage_path' =\u003e storage_path('failed-jobs'), \n    ],\n    \n    // INSTEAD of fx\n    // 'failed' =\u003e [\n    //     'driver' =\u003e env('QUEUE_FAILED_DRIVER', 'statamic'),\n    //     'database' =\u003e env('DB_CONNECTION', 'mysql'),\n    //     'table' =\u003e 'failed_jobs',\n    // ],\n```\n\n## Usage\nYou can access your failed jobs via the default artisan commands. Fx.:\n\n`php artisan queue:failed` \u003c- list all failed jobs\n\n`php artisan queue:retry JOB_UUID_ID` \u003c- Retry a given job\n\n`php artisan queue:flush` \u003c- Flush all failed jobs\n\n## Requirements\n- PHP \u003e= 8.0\n- Laravel 10\n- Statamic 4\n\n## Support\nI love to share with the community. Nevertheless, it does take a lot of work, time and effort. \n\n[Sponsor me on GitHub](https://github.com/sponsors/jonassiewertsen/) to support my work and the support for this addon.\n\n## License \nThis plugin is published under the MIT license. Feel free to use it and remember to spread love.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonassiewertsen%2Fstatamic-jobs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjonassiewertsen%2Fstatamic-jobs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonassiewertsen%2Fstatamic-jobs/lists"}