diff --git a/.github/workflows/dependabot-auto-merge.yml b/.github/workflows/dependabot-auto-merge.yml
index 67e66c6..1a13177 100644
--- a/.github/workflows/dependabot-auto-merge.yml
+++ b/.github/workflows/dependabot-auto-merge.yml
@@ -13,7 +13,7 @@ jobs:
- name: Dependabot metadata
id: metadata
- uses: dependabot/fetch-metadata@v2.0.0
+ uses: dependabot/fetch-metadata@v2.4.0
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
diff --git a/.github/workflows/fix-php-code-style-issues.yml b/.github/workflows/fix-php-code-style-issues.yml
index c958238..82c33c7 100644
--- a/.github/workflows/fix-php-code-style-issues.yml
+++ b/.github/workflows/fix-php-code-style-issues.yml
@@ -14,14 +14,14 @@ jobs:
steps:
- name: Checkout code
- uses: actions/checkout@v3
+ uses: actions/checkout@v6
with:
ref: ${{ github.head_ref }}
- name: Fix PHP code style issues
- uses: aglipanci/laravel-pint-action@2.3.1
+ uses: aglipanci/laravel-pint-action@2.6
- name: Commit changes
- uses: stefanzweifel/git-auto-commit-action@v4
+ uses: stefanzweifel/git-auto-commit-action@v7
with:
commit_message: Fix styling
diff --git a/.github/workflows/phpstan.yml b/.github/workflows/phpstan.yml
index 6ee75f8..1b1bfc0 100644
--- a/.github/workflows/phpstan.yml
+++ b/.github/workflows/phpstan.yml
@@ -11,12 +11,12 @@ jobs:
name: phpstan
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v3
+ - uses: actions/checkout@v6
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
- php-version: '8.1'
+ php-version: '8.2'
coverage: none
- name: Install composer dependencies
diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml
index 8648cd3..80c7bf4 100644
--- a/.github/workflows/run-tests.yml
+++ b/.github/workflows/run-tests.yml
@@ -2,9 +2,17 @@ name: run-tests
on:
push:
- branches: [main]
+ branches:
+ - main
+ - 1.x
+ - 2.x
+ - 3.x
pull_request:
- branches: [main]
+ branches:
+ - main
+ - 1.x
+ - 2.x
+ - 3.x
jobs:
test:
@@ -28,7 +36,7 @@ jobs:
steps:
- name: Checkout code
- uses: actions/checkout@v4
+ uses: actions/checkout@v6
- name: Setup PHP
uses: shivammathur/setup-php@v2
diff --git a/.github/workflows/update-changelog.yml b/.github/workflows/update-changelog.yml
index 8c12ba9..e687dad 100644
--- a/.github/workflows/update-changelog.yml
+++ b/.github/workflows/update-changelog.yml
@@ -13,7 +13,7 @@ jobs:
steps:
- name: Checkout code
- uses: actions/checkout@v3
+ uses: actions/checkout@v6
with:
ref: main
@@ -24,7 +24,7 @@ jobs:
release-notes: ${{ github.event.release.body }}
- name: Commit updated CHANGELOG
- uses: stefanzweifel/git-auto-commit-action@v4
+ uses: stefanzweifel/git-auto-commit-action@v7
with:
branch: main
commit_message: Update CHANGELOG
diff --git a/composer.json b/composer.json
index 3c7a2c2..aaabfdb 100644
--- a/composer.json
+++ b/composer.json
@@ -20,24 +20,23 @@
}
],
"require": {
- "php": "^8.2",
- "coderflex/laravel-turnstile": "^2.0",
- "illuminate/contracts": "^11.0 || ^12.0",
+ "php": "^8.2|^8.3|^8.4",
+ "coderflex/laravel-turnstile": "^1.0|^2.0",
+ "illuminate/contracts": "^10.0|^11.0|^12.0",
"spatie/laravel-package-tools": "^1.14.0"
},
"require-dev": {
"filament/filament": "^4.0",
+ "larastan/larastan": "^2.8|^3.0",
"laravel/pint": "^1.0",
- "nunomaduro/collision": "^8.0",
- "nunomaduro/larastan": "^3.0",
- "orchestra/testbench": "^10.0",
- "pestphp/pest": "^3.0",
- "pestphp/pest-plugin-arch": "^3.0",
- "pestphp/pest-plugin-laravel": "^3.0",
- "pestphp/pest-plugin-livewire": "^3.0",
+ "nunomaduro/collision": "^7.0|^8.0",
+ "orchestra/testbench": "^8.0|^9.0|^10.0",
+ "pestphp/pest": "^2.0|^3.7",
+ "pestphp/pest-plugin-arch": "^2.0|^3.0",
+ "pestphp/pest-plugin-livewire": "^2.0|^3.0",
"phpstan/extension-installer": "^1.1",
- "phpstan/phpstan-deprecation-rules": "^2.0",
- "phpstan/phpstan-phpunit": "^2.0"
+ "phpstan/phpstan-deprecation-rules": "^1.0|^2.0",
+ "phpstan/phpstan-phpunit": "^1.0|^2.0"
},
"autoload": {
"psr-4": {
diff --git a/resources/views/components/turnstile.blade.php b/resources/views/components/turnstile.blade.php
index 9f1319c..7d7c809 100644
--- a/resources/views/components/turnstile.blade.php
+++ b/resources/views/components/turnstile.blade.php
@@ -9,48 +9,60 @@