Skip to content

Commit 44965a8

Browse files
Dropped PHP 8.0 & Laravel 9 support; Added Laravel 11 support
1 parent 563a216 commit 44965a8

File tree

3 files changed

+18
-21
lines changed

3 files changed

+18
-21
lines changed

.github/workflows/tests.yml

+4-16
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,11 @@ jobs:
88
timeout-minutes: 10
99
strategy:
1010
matrix:
11-
php: ['8.0', '8.1', '8.2', '8.3']
12-
laravel: ['9.2', '9.52', '10.0', '10.37']
11+
php: ['8.1', '8.2', '8.3']
12+
laravel: ['10.0', '10.48', '11.0']
1313
exclude:
14-
- php: '8.0'
15-
laravel: '10.0'
16-
- php: '8.0'
17-
laravel: '10.37'
14+
- php: '8.1'
15+
laravel: '11.0'
1816
name: PHP ${{ matrix.php }} Laravel ${{ matrix.laravel }}
1917
steps:
2018
- name: Checkout
@@ -27,16 +25,6 @@ jobs:
2725
tools: composer:v2
2826
- name: Lock Laravel Version
2927
run: composer require "laravel/framework:${{ matrix.laravel }}.*" --no-update -v
30-
- name: Testbench Version Adjustments
31-
run: |
32-
is_smaller_version() [[ $(echo -e "$1\n$2"|sort -V|head -1) != $2 ]]
33-
is_smaller_version "${{ matrix.laravel }}" "9.36" && composer req "orchestra/testbench-core:7.10.2" --no-update
34-
is_smaller_version "${{ matrix.laravel }}" "9.34" && composer req "orchestra/testbench-core:7.8.1" --no-update
35-
is_smaller_version "${{ matrix.laravel }}" "9.32" && composer req "orchestra/testbench-core:7.7.1" --no-update
36-
is_smaller_version "${{ matrix.laravel }}" "9.12" && composer req "orchestra/testbench-core:7.4.0" --no-update
37-
is_smaller_version "${{ matrix.laravel }}" "9.7" && composer req "orchestra/testbench-core:7.3.0" --no-update
38-
is_smaller_version "${{ matrix.laravel }}" "9.6" && composer req "orchestra/testbench-core:7.2.0" --no-update
39-
is_smaller_version "${{ matrix.laravel }}" "9.5" && composer req "orchestra/testbench-core:7.1.0" --no-update || true
4028
- name: Composer Install
4129
run: composer install --prefer-dist --no-progress --no-interaction
4230
- name: Create Database

Changelog.md

+7
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Bearer Auth Changelog
22

3+
## Unreleased
4+
##### 2024-XX-YY
5+
6+
- Dropped PHP 8.0 support
7+
- Dropped Laravel 9 support
8+
- Added Laravel 11 support
9+
310
## 1.4.1
411
##### 2023-12-17
512

composer.json

+7-5
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
"description": "RFC 6750 Compatible Bearer Authentication for Laravel",
44
"type": "library",
55
"license": "MIT",
6+
"minimum-stability": "dev",
7+
"prefer-stable": true,
68
"keywords": ["api", "bearer", "rfc-6750", "oauth2", "konekt", "artkonekt", "laravel", "rest"],
79
"support": {
810
"source": "https://github.com/artkonekt/bearer-auth"
@@ -14,14 +16,14 @@
1416
}
1517
],
1618
"require": {
17-
"php": "^8.0",
19+
"php": "^8.1",
1820
"lcobucci/jwt": "^4.0",
19-
"laravel/framework": "^9.0|^10.0",
20-
"konekt/concord": "^1.10.2"
21+
"laravel/framework": "^10.0|^11.0",
22+
"konekt/concord": "^1.13"
2123
},
2224
"require-dev": {
23-
"phpunit/phpunit": "^9.0|^10.0",
24-
"orchestra/testbench": "^7.0|^8.0"
25+
"phpunit/phpunit": "^10.0",
26+
"orchestra/testbench": "^8.0|^9.0"
2527
},
2628
"autoload": {
2729
"psr-4": { "Konekt\\BearerAuth\\": "src/" }

0 commit comments

Comments
 (0)