{"id":91968,"library":"commerceguys-guzzle-oauth2-plugin","title":"Guzzle OAuth2 Plugin","description":"An OAuth2 plugin (subscriber) for Guzzle.","status":"active","version":"2.1.1","language":"php","source_language":null,"source_url":"https://github.com/commerceguys/guzzle-oauth2-plugin","tags":["oauth2","guzzle","authentication","http-client"],"install":[{"cmd":"composer require commerceguys/guzzle-oauth2-plugin","lang":"bash","label":"composer require"}],"dependencies":[],"imports":[{"symbol":"OAuth2Subscriber","correct":"use CommerceGuys\\Guzzle\\OAuth2\\OAuth2Subscriber;"}],"quickstart":{"code":"use CommerceGuys\\Guzzle\\OAuth2\\OAuth2Subscriber;\nuse GuzzleHttp\\Client;\n\n$client = new Client();\n$subscriber = new OAuth2Subscriber($client, ['client_id' => '...', 'client_secret' => '...']);\n$client->getEmitter()->attach($subscriber);","lang":"php","description":"Attach OAuth2 authentication to Guzzle requests"},"warnings":[{"fix":"Upgrade to Guzzle 6+ and use middleware instead.","message":"This package uses Guzzle 5.x (subscriber pattern) which is outdated.","severity":"breaking","affected_versions":">=2.0.0 <3.0.0"}],"env_vars":null,"search_vec":"'authent':12 'client':15 'guzzl':1,9,11 'http':14 'http-client':13 'oauth2':2,5,10 'plugin':3,6 'subscrib':7","created_at":"2026-06-19T09:25:42.528717+00:00","updated_at":"2026-06-19T09:25:42.528717+00:00","problems":[],"ecosystem":"packagist","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/commerceguys/guzzle-oauth2-plugin","github":"https://github.com/commerceguys/guzzle-oauth2-plugin","docs":null,"changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["http-client","auth"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-19","next_check":"2026-12-16","install_tag":null}}