{"id":33963727,"url":"https://github.com/ebln/guzzle-openapi-middleware","last_synced_at":"2026-04-15T12:33:30.948Z","repository":{"id":57097698,"uuid":"526515209","full_name":"ebln/guzzle-openapi-middleware","owner":"ebln","description":"OpenAPI validation middleware for Guzzle, adapting league/openapi-psr7-validator","archived":false,"fork":false,"pushed_at":"2022-08-20T13:39:14.000Z","size":42,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-14T11:34:08.933Z","etag":null,"topics":["guzzle","guzzle-middleware","middleware","openapi","openapi3","php","validation","validator"],"latest_commit_sha":null,"homepage":"","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/ebln.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":"2022-08-19T07:59:26.000Z","updated_at":"2024-04-25T08:55:26.000Z","dependencies_parsed_at":"2022-08-20T18:10:25.192Z","dependency_job_id":null,"html_url":"https://github.com/ebln/guzzle-openapi-middleware","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":"ebln/template-php-package-7.4","purl":"pkg:github/ebln/guzzle-openapi-middleware","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ebln%2Fguzzle-openapi-middleware","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ebln%2Fguzzle-openapi-middleware/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ebln%2Fguzzle-openapi-middleware/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ebln%2Fguzzle-openapi-middleware/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ebln","download_url":"https://codeload.github.com/ebln/guzzle-openapi-middleware/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ebln%2Fguzzle-openapi-middleware/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31842179,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-15T11:29:19.690Z","status":"ssl_error","status_checked_at":"2026-04-15T11:29:19.171Z","response_time":63,"last_error":"SSL_read: 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":["guzzle","guzzle-middleware","middleware","openapi","openapi3","php","validation","validator"],"created_at":"2025-12-12T22:46:27.541Z","updated_at":"2026-04-15T12:33:30.941Z","avatar_url":"https://github.com/ebln.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"OpenAPI Validation Middleware for Guzzle\n========================================\n\n[This middleware only adapts league/openapi-psr7-validator for Guzzle, please see their project for documentation](https://github.com/thephpleague/openapi-psr7-validator#readme)\n\n## Installation\n\n```\ncomposer require ebln/guzzle-openapi-middleware\n```\n\n## Usage\n\n```\nuse GuzzleHttp\\Client;\nuse GuzzleHttp\\HandlerStack;\nuse League\\OpenAPIValidation\\PSR7\\ValidatorBuilder;\n\n$builder = new ValidatorBuilder();\n// call either setSchemaFactory() or one of the from*() methods optionally add a PSR6 cache\n// @see https://github.com/thephpleague/openapi-psr7-validator#readme\n\n$middleware = new Middleware($builder-\u003egetRequestValidator(), $builder-\u003egetResponseValidator());\n\n// @see https://docs.guzzlephp.org/en/stable/handlers-and-middleware.html#middleware\n$stack = HandlerStack::create();\n$stack-\u003epush($middleware, 'openapi_validation');\n$client = new Client(['handler' =\u003e $stack]);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Febln%2Fguzzle-openapi-middleware","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Febln%2Fguzzle-openapi-middleware","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Febln%2Fguzzle-openapi-middleware/lists"}