{"id":18810585,"url":"https://github.com/php-http/throttle-plugin","last_synced_at":"2026-03-01T07:32:38.409Z","repository":{"id":43119687,"uuid":"462695378","full_name":"php-http/throttle-plugin","owner":"php-http","description":"PHP-HTTP plugin for throttling/rate limiting with the symfony/rate-limiter ","archived":false,"fork":false,"pushed_at":"2024-06-14T14:46:42.000Z","size":12,"stargazers_count":2,"open_issues_count":1,"forks_count":2,"subscribers_count":4,"default_branch":"main","last_synced_at":"2026-02-20T07:40:36.821Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/php-http.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":"2022-02-23T10:56:00.000Z","updated_at":"2024-06-14T14:46:45.000Z","dependencies_parsed_at":"2025-04-13T20:50:48.132Z","dependency_job_id":"9e1ac5fa-8f5e-4508-a98f-2c8eda23dc85","html_url":"https://github.com/php-http/throttle-plugin","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/php-http/throttle-plugin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/php-http%2Fthrottle-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/php-http%2Fthrottle-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/php-http%2Fthrottle-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/php-http%2Fthrottle-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/php-http","download_url":"https://codeload.github.com/php-http/throttle-plugin/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/php-http%2Fthrottle-plugin/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29963891,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-01T06:55:38.174Z","status":"ssl_error","status_checked_at":"2026-03-01T06:53:04.810Z","response_time":124,"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-11-07T23:21:11.884Z","updated_at":"2026-03-01T07:32:38.369Z","avatar_url":"https://github.com/php-http.png","language":"PHP","readme":"# Throttle Plugin\n\nPHP-HTTP plugin for throttling/rate limiting with the [symfony/rate-limiter](https://symfony.com/doc/current/rate_limiter.html)\n\n\u003e Warning: Plugin currently utilizes usleep() and hence is blocking whole process while waiting\n\n## Install\n\nVia [Composer](https://getcomposer.org/doc/00-intro.md)\n\n```bash\ncomposer require php-http/throttle-plugin\n```\n\n## Usage\n\n```php\nnew \\Http\\Client\\Common\\Plugin\\ThrottlePlugin(\n    (new \\Symfony\\Component\\RateLimiter\\RateLimiterFactory(\n        ['id' =\u003e 'foo', 'policy' =\u003e 'fixed_window', 'limit' =\u003e 2, 'interval' =\u003e '3 seconds'],\n        new \\Symfony\\Component\\RateLimiter\\Storage\\InMemoryStorage(),\n    ))-\u003ecreate(),\n);\n```\n\n## Licensing\n\nMIT license. Please see [License File](LICENSE) for more information.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphp-http%2Fthrottle-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphp-http%2Fthrottle-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphp-http%2Fthrottle-plugin/lists"}