{"id":37179,"name":"jerome/fetch-php","ecosystem":"packagist","repository_url":"https://github.com/Thavarshan/fetch-php","issues_count":1,"created_at":"2025-06-08T17:21:46.228Z","updated_at":"2025-06-08T17:21:46.228Z","purl":"pkg:composer/jerome/fetch-php","metadata":{"id":10882692,"name":"jerome/fetch-php","ecosystem":"packagist","description":"The JavaScript fetch API for PHP.","homepage":"https://fetch-php.thavarshan.com","licenses":"GPL-3.0-or-later","normalized_licenses":["GPL-3.0-or-later"],"repository_url":"https://github.com/Thavarshan/fetch-php","keywords_array":[],"namespace":"jerome","versions_count":16,"first_release_published_at":"2024-09-13T18:52:36.000Z","latest_release_published_at":"2025-05-19T13:42:32.000Z","latest_release_number":"3.2.2","last_synced_at":"2025-05-24T20:45:16.359Z","created_at":"2024-09-13T20:02:55.000Z","updated_at":"2025-05-24T20:45:17.484Z","registry_url":"https://packagist.org/packages/jerome/fetch-php#","install_command":"composer require jerome/fetch-php","documentation_url":null,"metadata":{"funding":[{"url":"https://www.buymeacoffee.com/thavarshan","type":"buy_me_a_coffee"},{"url":"https://github.com/thavarshan","type":"github"}]},"repo_metadata":{"id":257004802,"uuid":"857068805","full_name":"Thavarshan/fetch-php","owner":"Thavarshan","description":"🚀 A lightweight HTTP library inspired by JavaScript's fetch, bringing simplicity and flexibility to PHP HTTP requests.","archived":false,"fork":false,"pushed_at":"2025-05-19T18:10:46.000Z","size":2099,"stargazers_count":409,"open_issues_count":0,"forks_count":23,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-05-22T07:03:18.066Z","etag":null,"topics":["fetch","fetch-api","fetch-php","guzzle","guzzle-php-library","guzzlehttp","http","http-client","javascript-fetch","javascript-fetch-api","php"],"latest_commit_sha":null,"homepage":"https://fetch-php.thavarshan.com/","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/Thavarshan.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":".github/SECURITY.md","support":".github/SUPPORT.md","governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":"thavarshan","buy_me_a_coffee":"thavarshan"}},"created_at":"2024-09-13T18:33:05.000Z","updated_at":"2025-05-21T19:56:32.000Z","dependencies_parsed_at":"2024-09-14T09:24:17.284Z","dependency_job_id":"6fc235db-0f21-4555-a7c3-bbe6ee87a3da","html_url":"https://github.com/Thavarshan/fetch-php","commit_stats":{"total_commits":85,"total_committers":2,"mean_commits":42.5,"dds":0.04705882352941182,"last_synced_commit":"0eded664de97a0f8bfb91bb364c2c53f0325f3a5"},"previous_names":["thavarshan/fetch-php"],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Thavarshan%2Ffetch-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Thavarshan%2Ffetch-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Thavarshan%2Ffetch-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Thavarshan%2Ffetch-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Thavarshan","download_url":"https://codeload.github.com/Thavarshan/fetch-php/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":256152141,"owners_count":22344538,"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","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"},"owner_record":{"login":"Thavarshan","name":"Jerome Thayananthajothy","uuid":"10804999","kind":"user","description":"🧑‍💻 Software Engineer","email":"","website":"https://thavarshan.com","location":"Birmingham, UK","twitter":"tjthavarshan","company":"@netwatch-global","icon_url":"https://avatars.githubusercontent.com/u/10804999?u=18a189ab90dfd357e47fc04f5fe921d121a29f21\u0026v=4","repositories_count":28,"last_synced_at":"2024-04-14T22:27:37.263Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/Thavarshan","funding_links":[],"total_stars":65,"followers":30,"following":0,"created_at":"2022-11-17T18:33:38.528Z","updated_at":"2024-04-14T22:27:41.473Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Thavarshan","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Thavarshan/repositories"},"tags":[{"name":"3.1.0","sha":"5df1927fe06afedbd3bce5a465f0447a435735f8","kind":"commit","published_at":"2025-05-11T21:09:05.000Z","download_url":"https://codeload.github.com/Thavarshan/fetch-php/tar.gz/3.1.0","html_url":"https://github.com/Thavarshan/fetch-php/releases/tag/3.1.0","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Thavarshan%2Ffetch-php/tags/3.1.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Thavarshan%2Ffetch-php/tags/3.1.0/manifests"},{"name":"3.0.0","sha":"1b3e8d53d63e216b2b18dd9ef1b386b125833b2e","kind":"commit","published_at":"2025-05-03T19:01:52.000Z","download_url":"https://codeload.github.com/Thavarshan/fetch-php/tar.gz/3.0.0","html_url":"https://github.com/Thavarshan/fetch-php/releases/tag/3.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Thavarshan%2Ffetch-php/tags/3.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Thavarshan%2Ffetch-php/tags/3.0.0/manifests"},{"name":"2.0.6","sha":"9c9831207fb139b9c01602f01800dfcff1349c1f","kind":"commit","published_at":"2025-05-03T14:46:17.000Z","download_url":"https://codeload.github.com/Thavarshan/fetch-php/tar.gz/2.0.6","html_url":"https://github.com/Thavarshan/fetch-php/releases/tag/2.0.6","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Thavarshan%2Ffetch-php/tags/2.0.6","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Thavarshan%2Ffetch-php/tags/2.0.6/manifests"},{"name":"2.0.5","sha":"afe2b0f837cbb70e5966c109642d6e35cd7030fa","kind":"commit","published_at":"2025-03-29T19:23:18.000Z","download_url":"https://codeload.github.com/Thavarshan/fetch-php/tar.gz/2.0.5","html_url":"https://github.com/Thavarshan/fetch-php/releases/tag/2.0.5","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Thavarshan%2Ffetch-php/tags/2.0.5","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Thavarshan%2Ffetch-php/tags/2.0.5/manifests"},{"name":"2.0.4","sha":"42452989cef3f8a11028700054e603b196af3bed","kind":"commit","published_at":"2025-03-29T18:39:53.000Z","download_url":"https://codeload.github.com/Thavarshan/fetch-php/tar.gz/2.0.4","html_url":"https://github.com/Thavarshan/fetch-php/releases/tag/2.0.4","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Thavarshan%2Ffetch-php/tags/2.0.4","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Thavarshan%2Ffetch-php/tags/2.0.4/manifests"},{"name":"2.0.3","sha":"84746a9affe59bf3edd42c4a661d691d7b9a6ccf","kind":"commit","published_at":"2024-12-06T05:09:46.000Z","download_url":"https://codeload.github.com/Thavarshan/fetch-php/tar.gz/2.0.3","html_url":"https://github.com/Thavarshan/fetch-php/releases/tag/2.0.3","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Thavarshan%2Ffetch-php/tags/2.0.3","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Thavarshan%2Ffetch-php/tags/2.0.3/manifests"},{"name":"2.0.2","sha":"8b87566fd08a77427b915c1112e99140c035ec9f","kind":"commit","published_at":"2024-10-19T02:44:45.000Z","download_url":"https://codeload.github.com/Thavarshan/fetch-php/tar.gz/2.0.2","html_url":"https://github.com/Thavarshan/fetch-php/releases/tag/2.0.2","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Thavarshan%2Ffetch-php/tags/2.0.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Thavarshan%2Ffetch-php/tags/2.0.2/manifests"},{"name":"2.0.1","sha":"7406869499fc85805b0f2ebf46f81c161ce85f8e","kind":"commit","published_at":"2024-10-03T11:59:43.000Z","download_url":"https://codeload.github.com/Thavarshan/fetch-php/tar.gz/2.0.1","html_url":"https://github.com/Thavarshan/fetch-php/releases/tag/2.0.1","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Thavarshan%2Ffetch-php/tags/2.0.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Thavarshan%2Ffetch-php/tags/2.0.1/manifests"},{"name":"2.0.0","sha":"e08173a7510ef81794c294d0944fafadce271be8","kind":"commit","published_at":"2024-09-30T20:03:00.000Z","download_url":"https://codeload.github.com/Thavarshan/fetch-php/tar.gz/2.0.0","html_url":"https://github.com/Thavarshan/fetch-php/releases/tag/2.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Thavarshan%2Ffetch-php/tags/2.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Thavarshan%2Ffetch-php/tags/2.0.0/manifests"},{"name":"1.2.0","sha":"59216aaa8c50290f43f4f0a2d5ec8237678b2427","kind":"commit","published_at":"2024-09-27T23:00:15.000Z","download_url":"https://codeload.github.com/Thavarshan/fetch-php/tar.gz/1.2.0","html_url":"https://github.com/Thavarshan/fetch-php/releases/tag/1.2.0","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Thavarshan%2Ffetch-php/tags/1.2.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Thavarshan%2Ffetch-php/tags/1.2.0/manifests"},{"name":"1.1.1","sha":"e95b135011baaebd95901f9de1ee3eef3df41985","kind":"commit","published_at":"2024-09-25T18:35:14.000Z","download_url":"https://codeload.github.com/Thavarshan/fetch-php/tar.gz/1.1.1","html_url":"https://github.com/Thavarshan/fetch-php/releases/tag/1.1.1","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Thavarshan%2Ffetch-php/tags/1.1.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Thavarshan%2Ffetch-php/tags/1.1.1/manifests"},{"name":"1.1.0","sha":"ba67f9bf1355527dfcca55595a50cb085bea3195","kind":"commit","published_at":"2024-09-24T23:37:51.000Z","download_url":"https://codeload.github.com/Thavarshan/fetch-php/tar.gz/1.1.0","html_url":"https://github.com/Thavarshan/fetch-php/releases/tag/1.1.0","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Thavarshan%2Ffetch-php/tags/1.1.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Thavarshan%2Ffetch-php/tags/1.1.0/manifests"},{"name":"1.0.0","sha":"342fdaec16cca9854ef1dad18505b15d31646b55","kind":"commit","published_at":"2024-09-13T18:52:36.000Z","download_url":"https://codeload.github.com/Thavarshan/fetch-php/tar.gz/1.0.0","html_url":"https://github.com/Thavarshan/fetch-php/releases/tag/1.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Thavarshan%2Ffetch-php/tags/1.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Thavarshan%2Ffetch-php/tags/1.0.0/manifests"}]},"repo_metadata_updated_at":"2025-05-24T20:45:17.484Z","dependent_packages_count":0,"downloads":3844,"downloads_period":"total","dependent_repos_count":0,"rankings":{"downloads":88.6211082298285,"dependent_repos_count":31.32008564631984,"dependent_packages_count":18.300493701174492,"stargazers_count":null,"forks_count":null,"docker_downloads_count":null,"average":46.080562525774276},"purl":"pkg:composer/jerome/fetch-php","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/packagist/jerome/fetch-php","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/packagist/jerome/fetch-php","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/packagist/jerome/fetch-php/dependencies","status":null,"funding_links":["https://www.buymeacoffee.com/thavarshan","https://github.com/thavarshan","https://github.com/sponsors/thavarshan","https://buymeacoffee.com/thavarshan"],"critical":null,"versions_url":"https://packages.ecosyste.ms/api/v1/registries/packagist.org/packages/jerome%2Ffetch-php/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/packagist.org/packages/jerome%2Ffetch-php/version_numbers","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/packagist.org/packages/jerome%2Ffetch-php/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/packagist.org/packages/jerome%2Ffetch-php/related_packages","maintainers":[{"uuid":"Thavarshan","login":"Thavarshan","name":null,"email":null,"url":null,"packages_count":12,"html_url":"https://packagist.org/users/Thavarshan","role":null,"created_at":"2024-09-14T08:57:42.543Z","updated_at":"2024-09-14T08:57:42.543Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/packagist.org/maintainers/Thavarshan/packages"}],"registry":{"name":"packagist.org","url":"https://packagist.org","ecosystem":"packagist","default":true,"packages_count":457608,"maintainers_count":130186,"namespaces_count":155799,"keywords_count":138312,"github":"packagist","metadata":{"funded_packages_count":29665},"icon_url":"https://github.com/packagist.png","created_at":"2022-04-04T15:19:23.222Z","updated_at":"2025-06-09T05:06:57.121Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/packagist.org/packages","maintainers_url":"https://packages.ecosyste.ms/api/v1/registries/packagist.org/maintainers","namespaces_url":"https://packages.ecosyste.ms/api/v1/registries/packagist.org/namespaces"}},"unique_repositories_count":1,"unique_repositories_count_past_30_days":1,"recent_issues":[{"uuid":"2527492695","node_id":"PR_kwDOORAt2s6WpnpX","number":1,"state":"closed","title":"Update jerome/fetch-php requirement from ^2.0 to ^3.2","user":"dependabot[bot]","labels":["dependencies","php"],"assignees":[],"locked":false,"comments_count":0,"pull_request":true,"closed_at":"2025-05-19T04:17:17.000Z","author_association":"NONE","state_reason":null,"created_at":"2025-05-19T04:16:27.000Z","updated_at":"2025-05-19T04:17:17.000Z","time_to_close":50,"merged_at":"2025-05-19T04:17:17.000Z","merged_by":"CodeWithSushil","closed_by":null,"dependency_metadata":{"prefix":"Update","packages":[{"name":"jerome/fetch-php","old_version":"^2.0","new_version":"^3.2","repository_url":"https://github.com/Thavarshan/fetch-php"}],"path":null,"ecosystem":"packagist"},"body":"Updates the requirements on [jerome/fetch-php](https://github.com/Thavarshan/fetch-php) to permit the latest version.\n\u003cdetails\u003e\n\u003csummary\u003eRelease notes\u003c/summary\u003e\n\u003cp\u003e\u003cem\u003eSourced from \u003ca href=\"https://github.com/Thavarshan/fetch-php/releases\"\u003ejerome/fetch-php's releases\u003c/a\u003e.\u003c/em\u003e\u003c/p\u003e\n\u003cblockquote\u003e\n\u003ch2\u003ev3.2.1\u003c/h2\u003e\n\u003ch3\u003eChanged\u003c/h3\u003e\n\u003cul\u003e\n\u003cli\u003eUpdated documentation\u003c/li\u003e\n\u003cli\u003eUpdated dependencies\u003c/li\u003e\n\u003c/ul\u003e\n\u003cp\u003e\u003cstrong\u003eFull Changelog\u003c/strong\u003e: \u003ca href=\"https://github.com/Thavarshan/fetch-php/compare/3.2.0...3.2.1\"\u003ehttps://github.com/Thavarshan/fetch-php/compare/3.2.0...3.2.1\u003c/a\u003e\u003c/p\u003e\n\u003c/blockquote\u003e\n\u003c/details\u003e\n\u003cdetails\u003e\n\u003csummary\u003eChangelog\u003c/summary\u003e\n\u003cp\u003e\u003cem\u003eSourced from \u003ca href=\"https://github.com/Thavarshan/fetch-php/blob/main/CHANGELOG.md\"\u003ejerome/fetch-php's changelog\u003c/a\u003e.\u003c/em\u003e\u003c/p\u003e\n\u003cblockquote\u003e\n\u003ch1\u003eRelease Notes\u003c/h1\u003e\n\u003ch2\u003e\u003ca href=\"https://github.com/Thavarshan/fetch-php/compare/v3.2.1...HEAD\"\u003eUnreleased\u003c/a\u003e\u003c/h2\u003e\n\u003ch2\u003e\u003ca href=\"https://github.com/Thavarshan/fetch-php/compare/v3.1.1...v3.2.0\"\u003ev3.2.0\u003c/a\u003e - 2025-05-16\u003c/h2\u003e\n\u003ch3\u003eAdded\u003c/h3\u003e\n\u003cul\u003e\n\u003cli\u003eAdded tests for various HTTP methods (GET, POST, PUT, DELETE, PATCH, OPTIONS) with appropriate assertions.\u003c/li\u003e\n\u003c/ul\u003e\n\u003ch3\u003eChanged\u003c/h3\u003e\n\u003cul\u003e\n\u003cli\u003eSimplified \u003cstrong\u003e\u003ccode\u003eManagesRetriesTest\u003c/code\u003e\u003c/strong\u003e by using a mock class for retry-logic testing.\u003c/li\u003e\n\u003cli\u003eConsolidated tests for retryable status codes and exceptions into a single method.\u003c/li\u003e\n\u003cli\u003eUpdated \u003cstrong\u003e\u003ccode\u003ePerformsHttpRequestsTest\u003c/code\u003e\u003c/strong\u003e to use \u003ccode\u003eGuzzleHttp\u003c/code\u003e client mocks for more accurate request simulation.\u003c/li\u003e\n\u003cli\u003eEnhanced exception-handling tests to verify error messages and retry behaviour.\u003c/li\u003e\n\u003cli\u003eRemoved unnecessary reflection methods and streamlined test setup.\u003c/li\u003e\n\u003c/ul\u003e\n\u003ch3\u003eFixed\u003c/h3\u003e\n\u003cul\u003e\n\u003cli\u003eImproved back-off delay calculations in retry tests to ensure correct timing.\u003c/li\u003e\n\u003c/ul\u003e\n\u003cp\u003e\u003cstrong\u003eFull Changelog\u003c/strong\u003e: \u003ca href=\"https://github.com/Thavarshan/fetch-php/compare/3.1.1...3.2.0\"\u003ehttps://github.com/Thavarshan/fetch-php/compare/3.1.1...3.2.0\u003c/a\u003e\u003c/p\u003e\n\u003ch2\u003e\u003ca href=\"https://github.com/Thavarshan/fetch-php/compare/v3.1.0...v3.1.1\"\u003ev3.1.1\u003c/a\u003e - 2025-05-16\u003c/h2\u003e\n\u003ch3\u003eAdded\u003c/h3\u003e\n\u003cul\u003e\n\u003cli\u003eImplemented the missing \u003ccode\u003efinalizeRequest()\u003c/code\u003e method in the \u003ccode\u003ePerformsHttpRequests\u003c/code\u003e trait. This method centralizes request finalization logic, enabling internal shortcut methods like \u003ccode\u003eget()\u003c/code\u003e, \u003ccode\u003epost()\u003c/code\u003e, etc., to function correctly.\u003c/li\u003e\n\u003c/ul\u003e\n\u003ch3\u003eChanged\u003c/h3\u003e\n\u003cul\u003e\n\u003cli\u003eInternal shortcut HTTP methods (\u003ccode\u003eget()\u003c/code\u003e, \u003ccode\u003epost()\u003c/code\u003e, \u003ccode\u003eput()\u003c/code\u003e, etc.) in \u003ccode\u003ePerformsHttpRequests\u003c/code\u003e now route through the newly added \u003ccode\u003efinalizeRequest()\u003c/code\u003e method for consistent request handling.\u003c/li\u003e\n\u003c/ul\u003e\n\u003ch3\u003eFixed\u003c/h3\u003e\n\u003cul\u003e\n\u003cli\u003eFixed a fatal error caused by calling an undefined \u003ccode\u003efinalizeRequest()\u003c/code\u003e method in \u003ccode\u003eClientHandler\u003c/code\u003e. The missing method has now been properly defined and implemented.\u003c/li\u003e\n\u003c/ul\u003e\n\u003ch2\u003e\u003ca href=\"https://github.com/Thavarshan/fetch-php/compare/v3.0.0...v3.1.0\"\u003ev3.1.0\u003c/a\u003e - 2025-05-10\u003c/h2\u003e\n\u003ch3\u003eAdded\u003c/h3\u003e\n\u003cul\u003e\n\u003cli\u003e\n\u003cp\u003e\u003cstrong\u003ePSR-18 Client\u003c/strong\u003e: \u003ccode\u003eFetch\\Http\\Client\u003c/code\u003e now implements \u003ccode\u003ePsr\\Http\\Client\\ClientInterface\u003c/code\u003e for drop-in interoperability.\u003c/p\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp\u003e\u003cstrong\u003eFluent Request Builder\u003c/strong\u003e: Chainable helpers on \u003ccode\u003eClientHandler\u003c/code\u003e for headers, query params, JSON/form/multipart bodies, bearer token, basic auth, timeouts, redirects, cookies, proxy, certificates.\u003c/p\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp\u003e\u003cstrong\u003eAsync/Promise Support\u003c/strong\u003e: Built-in ReactPHP-style promises (\u003ccode\u003easync()\u003c/code\u003e, \u003ccode\u003eawait()\u003c/code\u003e, \u003ccode\u003eall()\u003c/code\u003e, \u003ccode\u003erace()\u003c/code\u003e, \u003ccode\u003eany()\u003c/code\u003e, \u003ccode\u003esequence()\u003c/code\u003e), with \u003ccode\u003e-\u0026gt;async()\u003c/code\u003e toggle and \u003ccode\u003ewrapAsync()\u003c/code\u003e/\u003ccode\u003eawaitPromise()\u003c/code\u003e helpers.\u003c/p\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp\u003e\u003cstrong\u003eAutomatic Retries\u003c/strong\u003e: Configurable max retries, retry delay, exponential backoff with jitter, and retry-on-status (408, 429, 5xx) or exceptions (\u003ccode\u003eConnectException\u003c/code\u003e).\u003c/p\u003e\n\u003c/li\u003e\n\u003c/ul\u003e\n\u003c!-- raw HTML omitted --\u003e\n\u003c/blockquote\u003e\n\u003cp\u003e... (truncated)\u003c/p\u003e\n\u003c/details\u003e\n\u003cdetails\u003e\n\u003csummary\u003eCommits\u003c/summary\u003e\n\u003cul\u003e\n\u003cli\u003e\u003ca href=\"https://github.com/Thavarshan/fetch-php/commit/2e2d862483da01cfb136f16d1b7eae12505231e8\"\u003e\u003ccode\u003e2e2d862\u003c/code\u003e\u003c/a\u003e Update version to 3.2.1 in composer.json and remove v3.2.1 entry from CHANGELOG\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://github.com/Thavarshan/fetch-php/commit/7fa537fd8798b77d045a0f4944ca24b34eedef29\"\u003e\u003ccode\u003e7fa537f\u003c/code\u003e\u003c/a\u003e Update CHANGELOG to reflect updated dependencies and improve formatting\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://github.com/Thavarshan/fetch-php/commit/9f18a0ca78155bd457b8a14aad7cd626df572e1a\"\u003e\u003ccode\u003e9f18a0c\u003c/code\u003e\u003c/a\u003e Update CHANGELOG\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://github.com/Thavarshan/fetch-php/commit/0c20bd8c6f0930b43108b573027ec95f6f96385c\"\u003e\u003ccode\u003e0c20bd8\u003c/code\u003e\u003c/a\u003e Add terser as a dev dependency and optimize build configuration in VitePress\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://github.com/Thavarshan/fetch-php/commit/32f104b49f9878daca05ffa69325253bb94ce303\"\u003e\u003ccode\u003e32f104b\u003c/code\u003e\u003c/a\u003e Enhance documentation and configuration for Fetch PHP, including SEO improvem...\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://github.com/Thavarshan/fetch-php/commit/f9b54bb2db156191ac5bb219f2362fb16ab649f7\"\u003e\u003ccode\u003ef9b54bb\u003c/code\u003e\u003c/a\u003e Update working with enums guide to include next steps for further learning\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://github.com/Thavarshan/fetch-php/commit/d812e166460cfe6aaf09a5580af97e83d2694301\"\u003e\u003ccode\u003ed812e16\u003c/code\u003e\u003c/a\u003e Update documentation to include guide on using enums in Fetch PHP\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://github.com/Thavarshan/fetch-php/commit/eb0211ba3abb84d3b3117364eb0e4d5c5c5e700b\"\u003e\u003ccode\u003eeb0211b\u003c/code\u003e\u003c/a\u003e Enhance documentation for Fetch PHP package\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://github.com/Thavarshan/fetch-php/commit/4ea0b5549ec24cde87126cf1651f789106b0ea84\"\u003e\u003ccode\u003e4ea0b55\u003c/code\u003e\u003c/a\u003e Bump version to 3.2.0 in composer.json\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://github.com/Thavarshan/fetch-php/commit/7e1b0c360684bdeb4687d9fbe7f105cb23fd1a4d\"\u003e\u003ccode\u003e7e1b0c3\u003c/code\u003e\u003c/a\u003e Update CHANGELOG\u003c/li\u003e\n\u003cli\u003eAdditional commits viewable in \u003ca href=\"https://github.com/Thavarshan/fetch-php/compare/2.0.0...3.2.1\"\u003ecompare view\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n\u003c/details\u003e\n\u003cbr /\u003e\n\n\nDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.\n\n[//]: # (dependabot-automerge-start)\n[//]: # (dependabot-automerge-end)\n\n---\n\n\u003cdetails\u003e\n\u003csummary\u003eDependabot commands and options\u003c/summary\u003e\n\u003cbr /\u003e\n\nYou can trigger Dependabot actions by commenting on this PR:\n- `@dependabot rebase` will rebase this PR\n- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it\n- `@dependabot merge` will merge this PR after your CI passes on it\n- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it\n- `@dependabot cancel merge` will cancel a previously requested merge and block automerging\n- `@dependabot reopen` will reopen this PR if it is closed\n- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually\n- `@dependabot show \u003cdependency name\u003e ignore conditions` will show all of the ignore conditions of the specified dependency\n- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)\n\n\n\u003c/details\u003e","html_url":"https://github.com/CodeWithSushil/fetch-php-example/pull/1","url":"https://dependabot.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeWithSushil%2Ffetch-php-example/issues/1","packages_url":"https://dependabot.ecosyste.ms/api/v1/issues/1/packages"}],"issue_packages":[{"old_version":"^2.0","new_version":"^3.2","update_type":null,"path":null,"pr_created_at":"2025-05-19T04:16:27.000Z","version_change":"^2.0 → ^3.2","issue":{"uuid":"2527492695","node_id":"PR_kwDOORAt2s6WpnpX","number":1,"state":"closed","title":"Update jerome/fetch-php requirement from ^2.0 to ^3.2","user":"dependabot[bot]","labels":["dependencies","php"],"assignees":[],"locked":false,"comments_count":0,"pull_request":true,"closed_at":"2025-05-19T04:17:17.000Z","author_association":"NONE","state_reason":null,"created_at":"2025-05-19T04:16:27.000Z","updated_at":"2025-05-19T04:17:17.000Z","time_to_close":50,"merged_at":"2025-05-19T04:17:17.000Z","merged_by":"CodeWithSushil","closed_by":null,"dependency_metadata":{"prefix":"Update","packages":[{"name":"jerome/fetch-php","old_version":"^2.0","new_version":"^3.2","repository_url":"https://github.com/Thavarshan/fetch-php"}],"path":null,"ecosystem":"packagist"},"body":"Updates the requirements on [jerome/fetch-php](https://github.com/Thavarshan/fetch-php) to permit the latest version.\n\u003cdetails\u003e\n\u003csummary\u003eRelease notes\u003c/summary\u003e\n\u003cp\u003e\u003cem\u003eSourced from \u003ca href=\"https://github.com/Thavarshan/fetch-php/releases\"\u003ejerome/fetch-php's releases\u003c/a\u003e.\u003c/em\u003e\u003c/p\u003e\n\u003cblockquote\u003e\n\u003ch2\u003ev3.2.1\u003c/h2\u003e\n\u003ch3\u003eChanged\u003c/h3\u003e\n\u003cul\u003e\n\u003cli\u003eUpdated documentation\u003c/li\u003e\n\u003cli\u003eUpdated dependencies\u003c/li\u003e\n\u003c/ul\u003e\n\u003cp\u003e\u003cstrong\u003eFull Changelog\u003c/strong\u003e: \u003ca href=\"https://github.com/Thavarshan/fetch-php/compare/3.2.0...3.2.1\"\u003ehttps://github.com/Thavarshan/fetch-php/compare/3.2.0...3.2.1\u003c/a\u003e\u003c/p\u003e\n\u003c/blockquote\u003e\n\u003c/details\u003e\n\u003cdetails\u003e\n\u003csummary\u003eChangelog\u003c/summary\u003e\n\u003cp\u003e\u003cem\u003eSourced from \u003ca href=\"https://github.com/Thavarshan/fetch-php/blob/main/CHANGELOG.md\"\u003ejerome/fetch-php's changelog\u003c/a\u003e.\u003c/em\u003e\u003c/p\u003e\n\u003cblockquote\u003e\n\u003ch1\u003eRelease Notes\u003c/h1\u003e\n\u003ch2\u003e\u003ca href=\"https://github.com/Thavarshan/fetch-php/compare/v3.2.1...HEAD\"\u003eUnreleased\u003c/a\u003e\u003c/h2\u003e\n\u003ch2\u003e\u003ca href=\"https://github.com/Thavarshan/fetch-php/compare/v3.1.1...v3.2.0\"\u003ev3.2.0\u003c/a\u003e - 2025-05-16\u003c/h2\u003e\n\u003ch3\u003eAdded\u003c/h3\u003e\n\u003cul\u003e\n\u003cli\u003eAdded tests for various HTTP methods (GET, POST, PUT, DELETE, PATCH, OPTIONS) with appropriate assertions.\u003c/li\u003e\n\u003c/ul\u003e\n\u003ch3\u003eChanged\u003c/h3\u003e\n\u003cul\u003e\n\u003cli\u003eSimplified \u003cstrong\u003e\u003ccode\u003eManagesRetriesTest\u003c/code\u003e\u003c/strong\u003e by using a mock class for retry-logic testing.\u003c/li\u003e\n\u003cli\u003eConsolidated tests for retryable status codes and exceptions into a single method.\u003c/li\u003e\n\u003cli\u003eUpdated \u003cstrong\u003e\u003ccode\u003ePerformsHttpRequestsTest\u003c/code\u003e\u003c/strong\u003e to use \u003ccode\u003eGuzzleHttp\u003c/code\u003e client mocks for more accurate request simulation.\u003c/li\u003e\n\u003cli\u003eEnhanced exception-handling tests to verify error messages and retry behaviour.\u003c/li\u003e\n\u003cli\u003eRemoved unnecessary reflection methods and streamlined test setup.\u003c/li\u003e\n\u003c/ul\u003e\n\u003ch3\u003eFixed\u003c/h3\u003e\n\u003cul\u003e\n\u003cli\u003eImproved back-off delay calculations in retry tests to ensure correct timing.\u003c/li\u003e\n\u003c/ul\u003e\n\u003cp\u003e\u003cstrong\u003eFull Changelog\u003c/strong\u003e: \u003ca href=\"https://github.com/Thavarshan/fetch-php/compare/3.1.1...3.2.0\"\u003ehttps://github.com/Thavarshan/fetch-php/compare/3.1.1...3.2.0\u003c/a\u003e\u003c/p\u003e\n\u003ch2\u003e\u003ca href=\"https://github.com/Thavarshan/fetch-php/compare/v3.1.0...v3.1.1\"\u003ev3.1.1\u003c/a\u003e - 2025-05-16\u003c/h2\u003e\n\u003ch3\u003eAdded\u003c/h3\u003e\n\u003cul\u003e\n\u003cli\u003eImplemented the missing \u003ccode\u003efinalizeRequest()\u003c/code\u003e method in the \u003ccode\u003ePerformsHttpRequests\u003c/code\u003e trait. This method centralizes request finalization logic, enabling internal shortcut methods like \u003ccode\u003eget()\u003c/code\u003e, \u003ccode\u003epost()\u003c/code\u003e, etc., to function correctly.\u003c/li\u003e\n\u003c/ul\u003e\n\u003ch3\u003eChanged\u003c/h3\u003e\n\u003cul\u003e\n\u003cli\u003eInternal shortcut HTTP methods (\u003ccode\u003eget()\u003c/code\u003e, \u003ccode\u003epost()\u003c/code\u003e, \u003ccode\u003eput()\u003c/code\u003e, etc.) in \u003ccode\u003ePerformsHttpRequests\u003c/code\u003e now route through the newly added \u003ccode\u003efinalizeRequest()\u003c/code\u003e method for consistent request handling.\u003c/li\u003e\n\u003c/ul\u003e\n\u003ch3\u003eFixed\u003c/h3\u003e\n\u003cul\u003e\n\u003cli\u003eFixed a fatal error caused by calling an undefined \u003ccode\u003efinalizeRequest()\u003c/code\u003e method in \u003ccode\u003eClientHandler\u003c/code\u003e. The missing method has now been properly defined and implemented.\u003c/li\u003e\n\u003c/ul\u003e\n\u003ch2\u003e\u003ca href=\"https://github.com/Thavarshan/fetch-php/compare/v3.0.0...v3.1.0\"\u003ev3.1.0\u003c/a\u003e - 2025-05-10\u003c/h2\u003e\n\u003ch3\u003eAdded\u003c/h3\u003e\n\u003cul\u003e\n\u003cli\u003e\n\u003cp\u003e\u003cstrong\u003ePSR-18 Client\u003c/strong\u003e: \u003ccode\u003eFetch\\Http\\Client\u003c/code\u003e now implements \u003ccode\u003ePsr\\Http\\Client\\ClientInterface\u003c/code\u003e for drop-in interoperability.\u003c/p\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp\u003e\u003cstrong\u003eFluent Request Builder\u003c/strong\u003e: Chainable helpers on \u003ccode\u003eClientHandler\u003c/code\u003e for headers, query params, JSON/form/multipart bodies, bearer token, basic auth, timeouts, redirects, cookies, proxy, certificates.\u003c/p\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp\u003e\u003cstrong\u003eAsync/Promise Support\u003c/strong\u003e: Built-in ReactPHP-style promises (\u003ccode\u003easync()\u003c/code\u003e, \u003ccode\u003eawait()\u003c/code\u003e, \u003ccode\u003eall()\u003c/code\u003e, \u003ccode\u003erace()\u003c/code\u003e, \u003ccode\u003eany()\u003c/code\u003e, \u003ccode\u003esequence()\u003c/code\u003e), with \u003ccode\u003e-\u0026gt;async()\u003c/code\u003e toggle and \u003ccode\u003ewrapAsync()\u003c/code\u003e/\u003ccode\u003eawaitPromise()\u003c/code\u003e helpers.\u003c/p\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp\u003e\u003cstrong\u003eAutomatic Retries\u003c/strong\u003e: Configurable max retries, retry delay, exponential backoff with jitter, and retry-on-status (408, 429, 5xx) or exceptions (\u003ccode\u003eConnectException\u003c/code\u003e).\u003c/p\u003e\n\u003c/li\u003e\n\u003c/ul\u003e\n\u003c!-- raw HTML omitted --\u003e\n\u003c/blockquote\u003e\n\u003cp\u003e... (truncated)\u003c/p\u003e\n\u003c/details\u003e\n\u003cdetails\u003e\n\u003csummary\u003eCommits\u003c/summary\u003e\n\u003cul\u003e\n\u003cli\u003e\u003ca href=\"https://github.com/Thavarshan/fetch-php/commit/2e2d862483da01cfb136f16d1b7eae12505231e8\"\u003e\u003ccode\u003e2e2d862\u003c/code\u003e\u003c/a\u003e Update version to 3.2.1 in composer.json and remove v3.2.1 entry from CHANGELOG\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://github.com/Thavarshan/fetch-php/commit/7fa537fd8798b77d045a0f4944ca24b34eedef29\"\u003e\u003ccode\u003e7fa537f\u003c/code\u003e\u003c/a\u003e Update CHANGELOG to reflect updated dependencies and improve formatting\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://github.com/Thavarshan/fetch-php/commit/9f18a0ca78155bd457b8a14aad7cd626df572e1a\"\u003e\u003ccode\u003e9f18a0c\u003c/code\u003e\u003c/a\u003e Update CHANGELOG\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://github.com/Thavarshan/fetch-php/commit/0c20bd8c6f0930b43108b573027ec95f6f96385c\"\u003e\u003ccode\u003e0c20bd8\u003c/code\u003e\u003c/a\u003e Add terser as a dev dependency and optimize build configuration in VitePress\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://github.com/Thavarshan/fetch-php/commit/32f104b49f9878daca05ffa69325253bb94ce303\"\u003e\u003ccode\u003e32f104b\u003c/code\u003e\u003c/a\u003e Enhance documentation and configuration for Fetch PHP, including SEO improvem...\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://github.com/Thavarshan/fetch-php/commit/f9b54bb2db156191ac5bb219f2362fb16ab649f7\"\u003e\u003ccode\u003ef9b54bb\u003c/code\u003e\u003c/a\u003e Update working with enums guide to include next steps for further learning\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://github.com/Thavarshan/fetch-php/commit/d812e166460cfe6aaf09a5580af97e83d2694301\"\u003e\u003ccode\u003ed812e16\u003c/code\u003e\u003c/a\u003e Update documentation to include guide on using enums in Fetch PHP\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://github.com/Thavarshan/fetch-php/commit/eb0211ba3abb84d3b3117364eb0e4d5c5c5e700b\"\u003e\u003ccode\u003eeb0211b\u003c/code\u003e\u003c/a\u003e Enhance documentation for Fetch PHP package\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://github.com/Thavarshan/fetch-php/commit/4ea0b5549ec24cde87126cf1651f789106b0ea84\"\u003e\u003ccode\u003e4ea0b55\u003c/code\u003e\u003c/a\u003e Bump version to 3.2.0 in composer.json\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://github.com/Thavarshan/fetch-php/commit/7e1b0c360684bdeb4687d9fbe7f105cb23fd1a4d\"\u003e\u003ccode\u003e7e1b0c3\u003c/code\u003e\u003c/a\u003e Update CHANGELOG\u003c/li\u003e\n\u003cli\u003eAdditional commits viewable in \u003ca href=\"https://github.com/Thavarshan/fetch-php/compare/2.0.0...3.2.1\"\u003ecompare view\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n\u003c/details\u003e\n\u003cbr /\u003e\n\n\nDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.\n\n[//]: # (dependabot-automerge-start)\n[//]: # (dependabot-automerge-end)\n\n---\n\n\u003cdetails\u003e\n\u003csummary\u003eDependabot commands and options\u003c/summary\u003e\n\u003cbr /\u003e\n\nYou can trigger Dependabot actions by commenting on this PR:\n- `@dependabot rebase` will rebase this PR\n- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it\n- `@dependabot merge` will merge this PR after your CI passes on it\n- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it\n- `@dependabot cancel merge` will cancel a previously requested merge and block automerging\n- `@dependabot reopen` will reopen this PR if it is closed\n- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually\n- `@dependabot show \u003cdependency name\u003e ignore conditions` will show all of the ignore conditions of the specified dependency\n- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)\n\n\n\u003c/details\u003e","html_url":"https://github.com/CodeWithSushil/fetch-php-example/pull/1","url":"https://dependabot.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeWithSushil%2Ffetch-php-example/issues/1","packages_url":"https://dependabot.ecosyste.ms/api/v1/issues/1/packages"}}]}