{"id":14987199,"url":"https://github.com/codeigniter4/queue","last_synced_at":"2025-04-30T09:03:38.688Z","repository":{"id":200104199,"uuid":"704648363","full_name":"codeigniter4/queue","owner":"codeigniter4","description":"Queues for the CodeIgniter 4 framework","archived":false,"fork":false,"pushed_at":"2024-09-19T09:50:48.000Z","size":619,"stargazers_count":45,"open_issues_count":3,"forks_count":12,"subscribers_count":9,"default_branch":"develop","last_synced_at":"2024-10-29T15:31:58.344Z","etag":null,"topics":["codeigniter","codeigniter4","php81","queue","queue-workers"],"latest_commit_sha":null,"homepage":"https://queue.codeigniter.com/","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/codeigniter4.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-10-13T18:16:14.000Z","updated_at":"2024-09-19T09:50:30.000Z","dependencies_parsed_at":"2024-04-09T08:26:40.905Z","dependency_job_id":"ce06a8c3-e2cb-410b-aa07-34429044ca69","html_url":"https://github.com/codeigniter4/queue","commit_stats":{"total_commits":98,"total_committers":3,"mean_commits":"32.666666666666664","dds":"0.22448979591836737","last_synced_commit":"0bc2957d0e822368122803627a61bdee9d52ce59"},"previous_names":["michalsn/codeigniter-queue","codeigniter4/queue"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeigniter4%2Fqueue","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeigniter4%2Fqueue/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeigniter4%2Fqueue/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeigniter4%2Fqueue/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codeigniter4","download_url":"https://codeload.github.com/codeigniter4/queue/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243500786,"owners_count":20300773,"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":["codeigniter","codeigniter4","php81","queue","queue-workers"],"created_at":"2024-09-24T14:14:14.706Z","updated_at":"2025-03-14T00:06:50.035Z","avatar_url":"https://github.com/codeigniter4.png","language":"PHP","readme":"# CodeIgniter Queue\n\nQueues for the CodeIgniter 4 framework.\n\n[![PHPUnit](https://github.com/codeigniter4/queue/actions/workflows/phpunit.yml/badge.svg)](https://github.com/codeigniter4/queue/actions/workflows/phpunit.yml)\n[![PHPStan](https://github.com/codeigniter4/queue/actions/workflows/phpstan.yml/badge.svg)](https://github.com/codeigniter4/queue/actions/workflows/phpstan.yml)\n[![Deptrac](https://github.com/codeigniter4/queue/actions/workflows/deptrac.yml/badge.svg)](https://github.com/codeigniter4/queue/actions/workflows/deptrac.yml)\n[![Coverage Status](https://coveralls.io/repos/github/codeigniter4/queue/badge.svg?branch=develop)](https://coveralls.io/github/codeigniter4/queue?branch=develop)\n\n![PHP](https://img.shields.io/badge/PHP-%5E8.1-blue)\n![CodeIgniter](https://img.shields.io/badge/CodeIgniter-%5E4.3-blue)\n![License](https://img.shields.io/badge/License-MIT-blue)\n\n\u003e [!NOTE]\n\u003e A queue system is typically used to handle resource-intensive or time-consuming tasks (e.g., image processing, sending emails) that are to be run in the background. It can also be a way to postpone certain activities that are to be executed automatically later.\n\n## Installation\n\n    composer require codeigniter4/queue\n\nMigrate your database:\n\n    php spark migrate --all\n\n## Configuration\n\nPublish configuration file:\n\n    php spark queue:publish\n\nCreate your first Job:\n\n    php spark queue:job Example\n\nAdd it to the `$jobHandlers` array in the `app\\Config\\Queue.php` file:\n\n```php\n// ...\n\nuse App\\Jobs\\Example;\n\n// ...\n\npublic array $jobHandlers = [\n    'my-example' =\u003e Example::class\n];\n\n// ...\n```\n\n## Basic usage\n\nAdd job to the queue:\n\n```php\nservice('queue')-\u003epush('queueName', 'my-example', ['data' =\u003e 'array']);\n```\n\nRun the queue worker:\n\n    php spark queue:work queueName\n\n## Docs\n\nRead the full documentation: https://queue.codeigniter.com\n\n## Contributing\n\nWe accept and encourage contributions from the community in any shape. It doesn't matter\nwhether you can code, write documentation, or help find bugs, all contributions are welcome.\nSee the [CONTRIBUTING.md](CONTRIBUTING.md) file for details.\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeigniter4%2Fqueue","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodeigniter4%2Fqueue","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeigniter4%2Fqueue/lists"}