From 49f0b56b0e267531e34c3fe27fed5d1800c92f8a Mon Sep 17 00:00:00 2001 From: Sammyjo20 <29132017+sammyjo20@users.noreply.github.com> Date: 2023年5月20日 15:12:30 +0100 Subject: [PATCH 1/7] Switched to saloonhttp namespace --- .github/README.md | 2 +- composer.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/README.md b/.github/README.md index 25adc9d..eb1dd8c 100644 --- a/.github/README.md +++ b/.github/README.md @@ -3,7 +3,7 @@ Official Cache Plugin for Saloon v1, to install it - run the following command: ```php -composer require sammyjo20/saloon-cache-plugin +composer require saloonhttp/cache-plugin ``` >Requires Saloon v1 and PHP 8.0+ diff --git a/composer.json b/composer.json index de7e597..b66eca3 100644 --- a/composer.json +++ b/composer.json @@ -1,5 +1,5 @@ { - "name": "sammyjo20/saloon-cache-plugin", + "name": "saloonhttp/cache-plugin", "description": "Official plugin for caching Saloon responses", "type": "library", "license": "MIT", From 98336bd3106728ef4ba09123498fe77726d142f9 Mon Sep 17 00:00:00 2001 From: Sammyjo20 <29132017+sammyjo20@users.noreply.github.com> Date: 2023年5月21日 18:22:39 +0100 Subject: [PATCH 2/7] Renamed package name --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index b66eca3..2607b51 100644 --- a/composer.json +++ b/composer.json @@ -1,5 +1,5 @@ { - "name": "saloonhttp/cache-plugin", + "name": "saloonphp/cache-plugin", "description": "Official plugin for caching Saloon responses", "type": "library", "license": "MIT", From 90475680a6c1e2dbc2d815672a583a70d0b1ff6a Mon Sep 17 00:00:00 2001 From: Sammyjo20 <29132017+sammyjo20@users.noreply.github.com> Date: 2023年5月21日 18:25:16 +0100 Subject: [PATCH 3/7] Fixed README --- .github/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/README.md b/.github/README.md index eb1dd8c..c8a1b70 100644 --- a/.github/README.md +++ b/.github/README.md @@ -3,7 +3,7 @@ Official Cache Plugin for Saloon v1, to install it - run the following command: ```php -composer require saloonhttp/cache-plugin +composer require saloonphp/cache-plugin ``` >Requires Saloon v1 and PHP 8.0+ From bab831d010f91d93b02690081b1909c16057377d Mon Sep 17 00:00:00 2001 From: Sammyjo20 <29132017+sammyjo20@users.noreply.github.com> Date: 2023年8月10日 18:46:06 +0100 Subject: [PATCH 4/7] Use saloonphp/saloon --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 2607b51..83bc23a 100644 --- a/composer.json +++ b/composer.json @@ -18,7 +18,7 @@ "minimum-stability": "stable", "require": { "php": "^8.0", - "sammyjo20/saloon": "^1.0.1", + "saloonphp/saloon": "^1.0.1", "nesbot/carbon": "^2.57" }, "require-dev": { From 17b6de3cce4e41f73ef557ba8f2ba872db967a0d Mon Sep 17 00:00:00 2001 From: Sammyjo20 <29132017+sammyjo20@users.noreply.github.com> Date: 2023年9月22日 18:55:36 +0100 Subject: [PATCH 5/7] Updated README --- .github/README.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/README.md b/.github/README.md index c8a1b70..ca11f05 100644 --- a/.github/README.md +++ b/.github/README.md @@ -1,11 +1,13 @@ -## Saloon Cache Plugin +## Official Caching Plugin For Saloon v1 +This is the official repository for the cache plugin. This plugin can automatically cache your Saloon +requests to one of many storage adapters. -Official Cache Plugin for Saloon v1, to install it - run the following command: +### Installation +You can install the cache plugin through Composer. ```php -composer require saloonphp/cache-plugin +composer require saloonphp/cache-plugin "^1.0" ``` ->Requires Saloon v1 and PHP 8.0+ ### Documentation From 22f702b1dabb54a22c0db5870af302bf2088d4db Mon Sep 17 00:00:00 2001 From: Sammyjo20 <29132017+sammyjo20@users.noreply.github.com> Date: 2023年9月22日 18:56:42 +0100 Subject: [PATCH 6/7] Fixed broken link --- .github/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/README.md b/.github/README.md index ca11f05..6e076ec 100644 --- a/.github/README.md +++ b/.github/README.md @@ -11,4 +11,4 @@ composer require saloonphp/cache-plugin "^1.0" ### Documentation -[Click here to read the documentation](https://docs.saloon.dev/next-steps/caching) +[Click here to read the documentation](https://docs.saloon.dev/v/1/next-steps/caching) From d32a955307e8a1b8d2d4100a9ef996b1861c092d Mon Sep 17 00:00:00 2001 From: Sammyjo20 <29132017+sammyjo20@users.noreply.github.com> Date: 2023年9月22日 20:41:10 +0100 Subject: [PATCH 7/7] Updated Code Style Workflow --- .github/workflows/php-cs-fixer.yml | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/.github/workflows/php-cs-fixer.yml b/.github/workflows/php-cs-fixer.yml index 42f05e9..e46cb40 100644 --- a/.github/workflows/php-cs-fixer.yml +++ b/.github/workflows/php-cs-fixer.yml @@ -4,22 +4,25 @@ on: push: branches: - 'v1' - + pull_request: + branches: + - '*' + +permissions: + contents: write + jobs: php-cs-fixer: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v2 - with: - ref: ${{ github.head_ref }} - token: ${{ secrets.PHP_CS_FIXER }} + uses: actions/checkout@v3 - name: Run PHP CS Fixer uses: docker://oskarstark/php-cs-fixer-ga with: - args: --config=.php-cs-fixer.dist.php + args: --config=.php-cs-fixer.dist.php --allow-risky=yes - name: Commit changes uses: stefanzweifel/git-auto-commit-action@v4 with: - commit_message: Apply Code Style Fixes + commit_message: 🪄 Code Style Fixes