Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 12 additions & 21 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,33 +9,20 @@ on:
jobs:
test:
runs-on: ubuntu-latest
continue-on-error: true
strategy:
fail-fast: true
matrix:
php: [8.2, 8.1, 8.0]
laravel: [10.*, 9.*, 8.*]
dependency-version: [prefer-stable]
php: ['8.3', '8.4']
laravel: ['11.*']
include:
- laravel: 10.*
testbench: 8.*
- laravel: 9.*
testbench: 7.*
- laravel: 8.*
testbench: 6.*
exclude:
- php: 8.0
laravel: 10.*
- php: 8.1
laravel: 8.*
- php: 8.2
laravel: 8.*

name: P${{ matrix.php }} - L${{ matrix.laravel }} - T${{ matrix.testbench }}
- laravel: '11.*'
testbench: '^9.0'

name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }}

steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Setup PHP
uses: shivammathur/setup-php@v2
Expand All @@ -47,6 +34,10 @@ jobs:
- name: Install dependencies
run: |
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction
composer update --prefer-stable --prefer-dist --no-interaction

- name: Execute tests
run: ./vendor/bin/pest

- name: Run PHPStan
run: ./vendor/bin/phpstan analyse
30 changes: 28 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,32 @@

All notable changes to `laravel-remote-token-auth` will be documented in this file

## 1.0.0 - 201X-XX-XX
## 1.0.0 - 2025-12-26

- initial release
### Added
- PHPStan static analysis step in CI workflow

### Changed
- **BREAKING:** Minimum PHP version updated from ^8.0 to ^8.3
- **BREAKING:** Minimum Laravel version updated to 11.x (via orchestra/testbench ^9.0)
- Updated Pest from v1.x to v3.x
- Updated PHPUnit from v9 to v11
- Updated laravel/pint to ^1.18
- Updated phpstan/phpstan to ^1.12
- Updated `AuthenticatedUser` ArrayAccess method signatures for PHP 8.3 compatibility
- Refactored `MakeValidationRequestActionTest` to use `Http::fake()` instead of Mockery alias mocking
- Updated GitHub Actions to test PHP 8.3/8.4 with Laravel 11
- Updated actions/checkout from v2 to v4

### Removed
- **BREAKING:** Removed `LumenServiceProvider` (Lumen is no longer maintained)
- Removed `pestphp/pest-plugin-mock` dependency (now bundled in Pest 2.x+)
- Removed support for PHP 8.0, 8.1, 8.2
- Removed support for Laravel 8.x, 9.x, 10.x

### Fixed
- Fixed typo in `GetAttributesFromResponseAction` parameter name (`$respose` -> `$response`)

## 0.x - Initial Release

- Initial release with Laravel 8.x-10.x and PHP 8.0+ support
15 changes: 7 additions & 8 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,16 @@
}
],
"require": {
"php": "^8.0",
"php": "^8.3",
"guzzlehttp/guzzle": "^7.5"
},
"require-dev": {
"laravel/pint": "^1.5|^1.6",
"orchestra/testbench": "^6.0|^7.0|^8.0",
"pestphp/pest": "^1.22",
"pestphp/pest-plugin-laravel": "^1.4",
"pestphp/pest-plugin-mock": "^1.0",
"phpstan/phpstan": "^1.10",
"phpunit/phpunit": "^9.0"
"laravel/pint": "^1.18",
"orchestra/testbench": "^9.0",
"pestphp/pest": "^2.35|^3.0",
"pestphp/pest-plugin-laravel": "^2.4|^3.0",
"phpstan/phpstan": "^1.12",
"phpunit/phpunit": "^10.5|^11.0"
},
"autoload": {
"psr-4": {
Expand Down
Loading