Skip to content

Commit 579bb6b

Browse files
committed
added support for laravel 9 and php 8.1
1 parent bfcb922 commit 579bb6b

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ Route::post('/pay', [
150150
OR
151151

152152
```php
153-
// Laravel 8
153+
// Laravel 8 & 9
154154
Route::post('/pay', [App\Http\Controllers\PaymentController::class, 'redirectToGateway'])->name('pay');
155155
```
156156

@@ -171,7 +171,7 @@ Route::get('payment/callback', [
171171
OR
172172

173173
```php
174-
// Laravel 8
174+
// Laravel 8 & 9
175175
Route::get('/payment/callback', [App\Http\Controllers\PaymentController::class, 'handleGatewayCallback']);
176176
```
177177

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@
2727
],
2828
"minimum-stability": "stable",
2929
"require": {
30-
"php": "^7.2|^8.0",
31-
"illuminate/support": "~6|~7|~8",
32-
"guzzlehttp/guzzle": "~6|~7|~8"
30+
"php": "^7.2|^8.0|^8.1",
31+
"illuminate/support": "~6|~7|~8|~9",
32+
"guzzlehttp/guzzle": "~6|~7|~8|~9"
3333
},
3434
"require-dev": {
3535
"phpunit/phpunit": "^8.4|^9.0",

0 commit comments

Comments
 (0)