{"id":28476838,"url":"https://github.com/withinboredom/wp-queue","last_synced_at":"2025-10-05T00:26:07.288Z","repository":{"id":147035142,"uuid":"97062891","full_name":"withinboredom/wp-queue","owner":"withinboredom","description":"An incredibly simple queue system for WordPress","archived":false,"fork":false,"pushed_at":"2017-07-14T12:01:12.000Z","size":21,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-07-02T16:43:40.308Z","etag":null,"topics":["queue","queueing","queues","wordpress","wordpress-php-library","wordpress-plugin"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/withinboredom.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,"zenodo":null}},"created_at":"2017-07-13T00:23:29.000Z","updated_at":"2025-02-19T12:01:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"6f7fffd9-e71b-453d-a0db-47c717618ec3","html_url":"https://github.com/withinboredom/wp-queue","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/withinboredom/wp-queue","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/withinboredom%2Fwp-queue","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/withinboredom%2Fwp-queue/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/withinboredom%2Fwp-queue/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/withinboredom%2Fwp-queue/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/withinboredom","download_url":"https://codeload.github.com/withinboredom/wp-queue/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/withinboredom%2Fwp-queue/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278395198,"owners_count":25979684,"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","status":"online","status_checked_at":"2025-10-04T02:00:05.491Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["queue","queueing","queues","wordpress","wordpress-php-library","wordpress-plugin"],"created_at":"2025-06-07T15:36:45.552Z","updated_at":"2025-10-05T00:26:07.284Z","avatar_url":"https://github.com/withinboredom.png","language":"PHP","readme":"# wp-queue\n\nAn incredibly simple queue system for WordPress.\n\n## Installation\n\nDrop `wp-queue.php` anywhere you like (preferably mu-plugins or plugins folder).\n\nActivate if necessary.\n\n## Topics\n\nThe queue uses `topics` to organize things. You place data in a `topic` and subscribe to a `topic`.\n\n## Putting things on the queue\n\nCall `WP_Queue::enqueue( $topic, $data, $delay )` where `$topic` is the topic to place `$data` on the queue and `$delay`\nis the number of seconds to delay putting it on the queue.\n\n## Subscribing to topics\n\nCall `WP_Queue::subscribe( $topic, $callable )` where `$topic` is the topic to subscribe to and `$callable` is a callable\nto callback with. It must accept 1 argument and that argument will be the `$data` you pass in from `WP_Queue::enqueue`.\n\n# Queue Guarantees\n\nThe queue operates on a best-effort, at least once basis. It's possible to receive duplicates, however, extremely unlikely.\nIt's also possible that a message will get lost, however, also extremely unlikely. It's built on wp-cron, so it must be\nenabled to receive subscriptions.\n\n# Caveats\n\n- Requires wp-cron\n- Subscriptions are called from php's shutdown hook. Use absolute paths in your callbacks if you need file access.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwithinboredom%2Fwp-queue","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwithinboredom%2Fwp-queue","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwithinboredom%2Fwp-queue/lists"}