Skip to content
This repository was archived by the owner on Jun 10, 2024. It is now read-only.

Commit a40a4fb

Browse files
author
Joel Butcher
committed
Laravel 9 Support
1 parent 30175f1 commit a40a4fb

File tree

3 files changed

+24
-17
lines changed

3 files changed

+24
-17
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,15 @@ jobs:
88
strategy:
99
matrix:
1010
os: [ubuntu-latest]
11-
php: ['7.3', '7.4', '8.0']
12-
13-
name: PHP ${{ matrix.php }} Test on ${{ matrix.os }}
11+
php: [ 7.3, 7.4, '8.0', 8.1 ]
12+
laravel: [ 7, 8, 9 ]
13+
exclude:
14+
- php: 7.3
15+
laravel: 9
16+
- php: 7.4
17+
laravel: 9
18+
19+
name: PHP ${{ matrix.php }} Test on ${{ matrix.os }} – Laravel ${{ matrix.laravel }}
1420

1521
steps:
1622
- name: Checkout
@@ -19,8 +25,8 @@ jobs:
1925
- name: Setup PHP
2026
uses: shivammathur/setup-php@v2
2127
with:
22-
php-version: ${{matrix.php}}
23-
28+
php-version: ${{matrix.php}}
29+
2430
- name: Install dependencies
2531
uses: php-actions/composer@v5
2632
with:
@@ -29,4 +35,4 @@ jobs:
2935
- name: Run composer test script
3036
uses: php-actions/composer@v5
3137
with:
32-
command: test
38+
command: test

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@ Available reCAPTCHA versions:
1414

1515
## System requirements
1616

17-
| Package | reCAPTCHA | PHP | Laravel | Docs |
18-
| -------------- | ----------------------------- | --------------------- | ---------------------------- | ---------------------------------------------------------------------- |
19-
| 5.x | v3, v2 Invisible, v2 Checkbox | 7.3 or greater | 7, 8 | [latest](https://laravel-recaptcha-docs.biscolab.com) |
20-
| 4.2.x to 4.4.x | v3, v2 Invisible, v2 Checkbox | 7.1 or greater | 5.5 or greater, 6, 7, 8 | [v4.4.x](https://laravel-recaptcha-docs.biscolab.com/docs/4.4.x/intro) |
21-
| 4.1.x | v3, v2 Invisible, v2 Checkbox | 7.1 or greater | 5.5 or greater, 6, 7 | [v4.1.x](https://laravel-recaptcha-docs.biscolab.com/docs/4.1.x/intro) |
22-
| 4.0.x | v3, v2 Invisible, v2 Checkbox | 7.1 or greater | 5.5 or greater, 6 | [v4.0.x](https://laravel-recaptcha-docs.biscolab.com/docs/4.0.x/intro) |
23-
| 3.x | v3, v2 Invisible, v2 Checkbox | 7.1 or greater | 5.5 or greater, 6 ready (\*) | [v3.6.1](https://laravel-recaptcha-docs.biscolab.com/docs/3.6.1/intro) |
24-
| 2.x | v2 Invisible, v2 Checkbox | 5.5.9, 7.0 or greater | 5.0 or greater | [v2.0.4](https://laravel-recaptcha-docs.biscolab.com/docs/2.0.4/intro) |
17+
| Package | reCAPTCHA | PHP | Laravel | Docs |
18+
| -------------- | ----------------------------- | --------------------- |------------------------------------------| ---------------------------------------------------------------------- |
19+
| 5.x | v3, v2 Invisible, v2 Checkbox | 7.3 or greater | 7, 8 & 9 (requires PHP 8.0.2 or greater) | [latest](https://laravel-recaptcha-docs.biscolab.com) |
20+
| 4.2.x to 4.4.x | v3, v2 Invisible, v2 Checkbox | 7.1 or greater | 5.5 or greater, 6, 7, 8 | [v4.4.x](https://laravel-recaptcha-docs.biscolab.com/docs/4.4.x/intro) |
21+
| 4.1.x | v3, v2 Invisible, v2 Checkbox | 7.1 or greater | 5.5 or greater, 6, 7 | [v4.1.x](https://laravel-recaptcha-docs.biscolab.com/docs/4.1.x/intro) |
22+
| 4.0.x | v3, v2 Invisible, v2 Checkbox | 7.1 or greater | 5.5 or greater, 6 | [v4.0.x](https://laravel-recaptcha-docs.biscolab.com/docs/4.0.x/intro) |
23+
| 3.x | v3, v2 Invisible, v2 Checkbox | 7.1 or greater | 5.5 or greater, 6 ready (\*) | [v3.6.1](https://laravel-recaptcha-docs.biscolab.com/docs/3.6.1/intro) |
24+
| 2.x | v2 Invisible, v2 Checkbox | 5.5.9, 7.0 or greater | 5.0 or greater | [v2.0.4](https://laravel-recaptcha-docs.biscolab.com/docs/2.0.4/intro) |
2525

2626
> (\*) Latest version (3.6.1) is Laravel 6 ready
2727

composer.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,12 @@
2020
}
2121
],
2222
"require": {
23-
"php": "^7.3|^8.0",
24-
"laravel/framework": "^7.0|^8.0"
23+
"php": "^8.0.2",
24+
"illuminate/routing": "^7.0|^8.0|^9.0",
25+
"illuminate/support": "^7.0|^8.0|^9.0"
2526
},
2627
"require-dev": {
27-
"orchestra/testbench": "5.*|6.*",
28+
"orchestra/testbench": "5.*|6.*|^7.0",
2829
"phpunit/phpunit": "^9.1"
2930
},
3031
"autoload": {

0 commit comments

Comments
 (0)