{"id":17370116,"url":"https://github.com/gianarb/lean-queue","last_synced_at":"2026-03-06T08:01:21.435Z","repository":{"id":26119150,"uuid":"29563632","full_name":"gianarb/lean-queue","owner":"gianarb","description":"Lean queue system in PHP.. Send, receive message and it supports different adapters.. only one thing","archived":false,"fork":false,"pushed_at":"2016-11-14T11:47:29.000Z","size":42,"stargazers_count":3,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-15T11:24:15.718Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://lean-queue.readthedocs.org/en/stable/","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gianarb.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}},"created_at":"2015-01-21T00:57:16.000Z","updated_at":"2023-04-06T06:55:08.000Z","dependencies_parsed_at":"2022-08-25T17:10:41.604Z","dependency_job_id":null,"html_url":"https://github.com/gianarb/lean-queue","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/gianarb/lean-queue","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gianarb%2Flean-queue","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gianarb%2Flean-queue/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gianarb%2Flean-queue/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gianarb%2Flean-queue/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gianarb","download_url":"https://codeload.github.com/gianarb/lean-queue/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gianarb%2Flean-queue/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30166848,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-06T07:56:45.623Z","status":"ssl_error","status_checked_at":"2026-03-06T07:55:55.621Z","response_time":250,"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":[],"created_at":"2024-10-16T00:23:35.801Z","updated_at":"2026-03-06T08:01:21.383Z","avatar_url":"https://github.com/gianarb.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LeanQueue\nMaster:\n[![Build Status](https://travis-ci.org/gianarb/lean-queue.svg?branch=master)](https://travis-ci.org/gianarb/lean-queue)\nDevelop:\n[![Build Status](https://travis-ci.org/gianarb/lean-queue.svg?branch=develop)](https://travis-ci.org/gianarb/lean-queue)\n\n[![Dependency Status](https://www.versioneye.com/user/projects/54f36da64f3108d1fa0008da/badge.svg?style=flat)](https://www.versioneye.com/user/projects/54f36da64f3108d1fa0008da) [![Code Climate](https://codeclimate.com/github/gianarb/lean-queue/badges/gpa.svg)](https://codeclimate.com/github/gianarb/lean-queue)\n\nlean queue system, receive and send messages for different queue adapters.\n\nFor now supports `ArrayAdapter` and `AwsSqs`\n\n## Send messages in queue\n\n```php\n\u003c?php\n\n$client = \\Aws\\Sqs\\SqsClient::factory();\n\n$queue = new \\GianArb\\LeanQueue\\Queue(\"https://sqs.eu-west-1.amazonaws.com/xxxxxx/test-php\");\n$queue-\u003esetAdapter(new \\GianArb\\LeanQueue\\Adapter\\AwsAdapter($client));\n\n$queue-\u003esend(\"{'example': '2121'}\");\n```\n\n## Receive and Delete messages\n\n```php\n\u003c?php\n$queue = new \\GianArb\\LeanQueue\\Queue(\"https://sqs.eu-west-1.amazonaws.com/xxxxx/test-php\");\n$queue-\u003esetAdapter(new \\GianArb\\LeanQueue\\Adapter\\AwsAdapter($client));\n\nlist($receipt, $message) = $queue-\u003ereceive();\n\n$queue-\u003edelete($receipt);\n```\n\n## Install\n\n```bash\nphp composer.phar require \"gianarb\\lean-queue\"\n```\n\n## Contribute\nTry it and open issues or pull requests! ;)\n\n```shell\nvendor/bin/phpspec run\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgianarb%2Flean-queue","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgianarb%2Flean-queue","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgianarb%2Flean-queue/lists"}