From 271659e6d2b2222e5044cc79d06eb7eb405d859a Mon Sep 17 00:00:00 2001 From: Sushil Kumar Date: Mon, 19 May 2025 20:36:35 +0530 Subject: [PATCH 01/12] update --- .github/workflows/compatibility-check.yml | 2 +- .github/workflows/tests.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/compatibility-check.yml b/.github/workflows/compatibility-check.yml index 5abc24f..c3e33a0 100644 --- a/.github/workflows/compatibility-check.yml +++ b/.github/workflows/compatibility-check.yml @@ -3,7 +3,7 @@ name: Compatibility Check on: push: branches: - - main + - master - refactor/** - feature/** - fix/** diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 2991ad5..543e5a6 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -3,7 +3,7 @@ name: Tests on: push: branches: - - main + - master - refactor/** - feature/** - fix/** From 14da0e3e19b5ed8161efbae20f19a3ecbc9f2768 Mon Sep 17 00:00:00 2001 From: Sushil Kumar Date: Mon, 19 May 2025 20:41:22 +0530 Subject: [PATCH 02/12] update --- .github/workflows/dependabot-auto-merge.yml | 39 --------------------- .github/workflows/lint.yml | 31 ---------------- 2 files changed, 70 deletions(-) delete mode 100644 .github/workflows/dependabot-auto-merge.yml delete mode 100644 .github/workflows/lint.yml diff --git a/.github/workflows/dependabot-auto-merge.yml b/.github/workflows/dependabot-auto-merge.yml deleted file mode 100644 index 252104e..0000000 --- a/.github/workflows/dependabot-auto-merge.yml +++ /dev/null @@ -1,39 +0,0 @@ -name: dependabot-auto-merge -on: pull_request_target - -permissions: - pull-requests: write - contents: write - -jobs: - dependabot: - runs-on: ubuntu-latest - if: ${{ github.actor == 'dependabot[bot]' }} - steps: - - name: Dependabot metadata - id: metadata - uses: dependabot/fetch-metadata@v2.4.0 - with: - github-token: '${{ secrets.GITHUB_TOKEN }}' - compat-lookup: true - - - name: Auto-merge Dependabot PRs for semver-minor updates - if: ${{steps.metadata.outputs.update-type == 'version-update:semver-minor'}} - run: gh pr merge --auto --merge "$PR_URL" - env: - PR_URL: ${{github.event.pull_request.html_url}} - GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} - - - name: Auto-merge Dependabot PRs for semver-patch updates - if: ${{steps.metadata.outputs.update-type == 'version-update:semver-patch'}} - run: gh pr merge --auto --merge "$PR_URL" - env: - PR_URL: ${{github.event.pull_request.html_url}} - GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} - - - name: Auto-merge Dependabot PRs for Action major versions when compatibility is higher than 90% - if: ${{steps.metadata.outputs.package-ecosystem == 'github_actions' && steps.metadata.outputs.update-type == 'version-update:semver-major' && steps.metadata.outputs.compatibility-score >= 90}} - run: gh pr merge --auto --merge "$PR_URL" - env: - PR_URL: ${{github.event.pull_request.html_url}} - GH_TOKEN: ${{secrets.GITHUB_TOKEN}} diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml deleted file mode 100644 index 47ed54e..0000000 --- a/.github/workflows/lint.yml +++ /dev/null @@ -1,31 +0,0 @@ -name: Lint - -on: [push] - -jobs: - lint: - runs-on: ubuntu-latest - strategy: - fail-fast: true - matrix: - php: [8.4] - - steps: - - name: Checkout code - uses: actions/checkout@v4 - - - name: Setup PHP - uses: shivammathur/setup-php@v2 - with: - php-version: ${{ matrix.php }} - extensions: json, dom, curl, libxml, mbstring - coverage: none - - - name: Run lint - run: composer lint - - # - name: Commit linted files - # uses: stefanzweifel/git-auto-commit-action@v5 - # with: - # commit_message: "Fix coding style" - From b4ed285ae933fb9490139457ec455e6d5fca2e58 Mon Sep 17 00:00:00 2001 From: Sushil Kumar Date: Mon, 19 May 2025 20:48:24 +0530 Subject: [PATCH 03/12] update README --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1a9cf02..f87a7a1 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # Fetch PHP -[![Latest Version on Packagist](https://img.shields.io/packagist/v/CodeWithSushil/fetch-php.svg)](https://packagist.org/packages/CodeWithSushil/fetch-php) -[![Tests](https://github.com/Thavarshan/fetch-php/actions/workflows/tests.yml/badge.svg?label=tests&branch=main)](https://github.com/Thavarshan/fetch-php/actions/workflows/tests.yml) +[![Latest Version on Packagist](https://img.shields.io/packagist/v/fetchphp/fetch.svg)](https://packagist.org/packages/fetchphp/fetch) +[![Tests](https://github.com/CodeWithSushil/fetch-php/actions/workflows/tests.yml/badge.svg?label=tests&branch=master)](https://github.com/CodeWithSushil/fetch-php/actions/workflows/tests.yml) [![Lint](https://github.com/Thavarshan/fetch-php/actions/workflows/lint.yml/badge.svg)](https://github.com/Thavarshan/fetch-php/actions/workflows/lint.yml) [![CodeQL](https://github.com/Thavarshan/fetch-php/actions/workflows/github-code-scanning/codeql/badge.svg)](https://github.com/Thavarshan/fetch-php/actions/workflows/github-code-scanning/codeql) [![PHPStan](https://img.shields.io/badge/PHPStan-level%20max-brightgreen.svg)](https://phpstan.org/) From 7131d6adb49e60ed31736e835b588b68ab0dc498 Mon Sep 17 00:00:00 2001 From: Sushil Kumar Date: Mon, 19 May 2025 20:59:46 +0530 Subject: [PATCH 04/12] update composer.json --- composer.json | 1 + 1 file changed, 1 insertion(+) diff --git a/composer.json b/composer.json index 90bf897..a725213 100644 --- a/composer.json +++ b/composer.json @@ -5,6 +5,7 @@ "keywords": [ "fetch", "fetchphp", + "fetch-api", "fetch-php" ], "license": "MIT", From 0c36291beefdef322b3571b5b67e78e57f3fc964 Mon Sep 17 00:00:00 2001 From: Sushil Kumar Date: Tue, 20 May 2025 06:23:59 +0530 Subject: [PATCH 05/12] Update LICENSE --- LICENSE | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LICENSE b/LICENSE index 456a676..88101bc 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2024 Jerome Thayananthajothy +Copyright (c) 2024 Sushil Kumar Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal From 2c66a6c48b502b0f4122a1eea9ea020ab6c96547 Mon Sep 17 00:00:00 2001 From: Sushil Kumar Date: Tue, 20 May 2025 06:30:54 +0530 Subject: [PATCH 06/12] Update README.md --- README.md | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index f87a7a1..e877480 100644 --- a/README.md +++ b/README.md @@ -1,14 +1,12 @@ # Fetch PHP - +[![Fetch PHP](./assets/banner.png)] [![Latest Version on Packagist](https://img.shields.io/packagist/v/fetchphp/fetch.svg)](https://packagist.org/packages/fetchphp/fetch) [![Tests](https://github.com/CodeWithSushil/fetch-php/actions/workflows/tests.yml/badge.svg?label=tests&branch=master)](https://github.com/CodeWithSushil/fetch-php/actions/workflows/tests.yml) -[![Lint](https://github.com/Thavarshan/fetch-php/actions/workflows/lint.yml/badge.svg)](https://github.com/Thavarshan/fetch-php/actions/workflows/lint.yml) -[![CodeQL](https://github.com/Thavarshan/fetch-php/actions/workflows/github-code-scanning/codeql/badge.svg)](https://github.com/Thavarshan/fetch-php/actions/workflows/github-code-scanning/codeql) +[![CodeQL](https://github.com/CodeWithSushil/fetch-php/actions/workflows/github-code-scanning/codeql/badge.svg)](https://github.com/CodeWithSushil/fetch-php/actions/workflows/github-code-scanning/codeql) [![PHPStan](https://img.shields.io/badge/PHPStan-level%20max-brightgreen.svg)](https://phpstan.org/) -[![PHP Version](https://img.shields.io/packagist/php-v/jerome/fetch-php.svg)](https://packagist.org/packages/jerome/fetch-php) -[![License](https://img.shields.io/packagist/l/jerome/fetch-php.svg)](https://packagist.org/packages/jerome/fetch-php) -[![Total Downloads](https://img.shields.io/packagist/dt/jerome/fetch-php.svg)](https://packagist.org/packages/jerome/fetch-php) -[![GitHub Stars](https://img.shields.io/github/stars/Thavarshan/fetch-php.svg?style=social&label=Stars)](https://github.com/Thavarshan/fetch-php/stargazers) +[![PHP Version](https://img.shields.io/packagist/php-v/fetchphp/fetch.svg)](https://packagist.org/packages/fetchphp/fetch) +[![License](https://img.shields.io/packagist/l/fetchphp/fetch.svg)](https://packagist.org/packages/fetchphp/fetch) +[![Total Downloads](https://img.shields.io/packagist/dt/fetchphp/fetch.svg)](https://packagist.org/packages/fetchphp/fetch) **Fetch PHP** is a modern HTTP client library for PHP that brings JavaScript's `fetch` API experience to PHP. Built on top of Guzzle, Fetch PHP allows you to write HTTP code with a clean, intuitive JavaScript-like syntax while still maintaining PHP's familiar patterns. From 672fba630c5d87da81fd071965b157005a9ec326 Mon Sep 17 00:00:00 2001 From: Sushil Kumar Date: Tue, 20 May 2025 06:32:51 +0530 Subject: [PATCH 07/12] Update README.md --- README.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/README.md b/README.md index e877480..1358812 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,7 @@ # Fetch PHP -[![Fetch PHP](./assets/banner.png)] +[![Fetch PHP](/assets/Banner.png)] [![Latest Version on Packagist](https://img.shields.io/packagist/v/fetchphp/fetch.svg)](https://packagist.org/packages/fetchphp/fetch) [![Tests](https://github.com/CodeWithSushil/fetch-php/actions/workflows/tests.yml/badge.svg?label=tests&branch=master)](https://github.com/CodeWithSushil/fetch-php/actions/workflows/tests.yml) -[![CodeQL](https://github.com/CodeWithSushil/fetch-php/actions/workflows/github-code-scanning/codeql/badge.svg)](https://github.com/CodeWithSushil/fetch-php/actions/workflows/github-code-scanning/codeql) -[![PHPStan](https://img.shields.io/badge/PHPStan-level%20max-brightgreen.svg)](https://phpstan.org/) [![PHP Version](https://img.shields.io/packagist/php-v/fetchphp/fetch.svg)](https://packagist.org/packages/fetchphp/fetch) [![License](https://img.shields.io/packagist/l/fetchphp/fetch.svg)](https://packagist.org/packages/fetchphp/fetch) [![Total Downloads](https://img.shields.io/packagist/dt/fetchphp/fetch.svg)](https://packagist.org/packages/fetchphp/fetch) From 5a01bef9a6588611b8c7df88d0d02d9ea23885cd Mon Sep 17 00:00:00 2001 From: Sushil Kumar Date: Tue, 20 May 2025 06:34:25 +0530 Subject: [PATCH 08/12] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1358812..3dc1901 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # Fetch PHP -[![Fetch PHP](/assets/Banner.png)] + [![Latest Version on Packagist](https://img.shields.io/packagist/v/fetchphp/fetch.svg)](https://packagist.org/packages/fetchphp/fetch) [![Tests](https://github.com/CodeWithSushil/fetch-php/actions/workflows/tests.yml/badge.svg?label=tests&branch=master)](https://github.com/CodeWithSushil/fetch-php/actions/workflows/tests.yml) [![PHP Version](https://img.shields.io/packagist/php-v/fetchphp/fetch.svg)](https://packagist.org/packages/fetchphp/fetch) From 63197c4b11d2b7dfc56092c57a5922917ced9a8f Mon Sep 17 00:00:00 2001 From: Sushil Kumar Date: Tue, 20 May 2025 06:37:44 +0530 Subject: [PATCH 09/12] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 3dc1901..afdd6f2 100644 --- a/README.md +++ b/README.md @@ -50,6 +50,7 @@ composer require fetchphp/fetch ``` > **Requirements**: PHP 8.1 or higher +> **Original and official**: composer require jerome/fetch-php ## Basic Usage From 696ab3dfd2a7e098d42433c9e9bf60327691600f Mon Sep 17 00:00:00 2001 From: Sushil Kumar Date: Tue, 20 May 2025 06:42:16 +0530 Subject: [PATCH 10/12] Update README.md --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index afdd6f2..3139c2a 100644 --- a/README.md +++ b/README.md @@ -50,7 +50,10 @@ composer require fetchphp/fetch ``` > **Requirements**: PHP 8.1 or higher -> **Original and official**: composer require jerome/fetch-php +**Original and official** +```bash +composer require jerome/fetch-php +``` ## Basic Usage From 7a2ce74da4ca257674c55b0020c34e33c441688a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 16 Jun 2025 19:22:53 +0000 Subject: [PATCH 11/12] Bump stefanzweifel/git-auto-commit-action from 5 to 6 Bumps [stefanzweifel/git-auto-commit-action](https://github.com/stefanzweifel/git-auto-commit-action) from 5 to 6. - [Release notes](https://github.com/stefanzweifel/git-auto-commit-action/releases) - [Changelog](https://github.com/stefanzweifel/git-auto-commit-action/blob/master/CHANGELOG.md) - [Commits](https://github.com/stefanzweifel/git-auto-commit-action/compare/v5...v6) --- updated-dependencies: - dependency-name: stefanzweifel/git-auto-commit-action dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/update-changelog.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/update-changelog.yml b/.github/workflows/update-changelog.yml index 105a776..fc63e41 100644 --- a/.github/workflows/update-changelog.yml +++ b/.github/workflows/update-changelog.yml @@ -22,7 +22,7 @@ jobs: release-notes: ${{ github.event.release.body }} - name: Commit updated CHANGELOG - uses: stefanzweifel/git-auto-commit-action@v5 + uses: stefanzweifel/git-auto-commit-action@v6 with: branch: main commit_message: Update CHANGELOG From 5def0a728a88f9eec6634bb7caf629705c62e397 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 12 Aug 2025 00:48:34 +0000 Subject: [PATCH 12/12] Bump actions/checkout from 4 to 5 Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v4...v5) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/compatibility-check.yml | 2 +- .github/workflows/tests.yml | 2 +- .github/workflows/update-changelog.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/compatibility-check.yml b/.github/workflows/compatibility-check.yml index c3e33a0..f03653a 100644 --- a/.github/workflows/compatibility-check.yml +++ b/.github/workflows/compatibility-check.yml @@ -23,7 +23,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: Setup PHP uses: shivammathur/setup-php@v2 diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 543e5a6..cf418fb 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -24,7 +24,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: Setup PHP uses: shivammathur/setup-php@v2 diff --git a/.github/workflows/update-changelog.yml b/.github/workflows/update-changelog.yml index fc63e41..830fb27 100644 --- a/.github/workflows/update-changelog.yml +++ b/.github/workflows/update-changelog.yml @@ -10,7 +10,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: ref: main token: ${{ secrets.GH_TOKEN }}