Skip to content

Commit

Permalink
Support laravel 9 and 10
Browse files Browse the repository at this point in the history
  • Loading branch information
AmirrezaNasiri authored Oct 16, 2023
1 parent 3fe34a7 commit 681b232
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 13 deletions.
18 changes: 6 additions & 12 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,24 +12,18 @@ jobs:
strategy:
fail-fast: true
matrix:
php: ['7.3', '7.4', '8.0']
laravel: ['7.*', '8.*', '9.*']
php: ['8.0', '8.1']
laravel: ['9.*', '10.*']
stability: [prefer-lowest, prefer-stable]
exclude:
- laravel: '9.*'
php: '7.3'
- laravel: '9.*'
php: '7.4'
- laravel: '10.*'
php: '8.0'
include:
- laravel: '7.*'
testbench: '5.*'
- laravel: '8.*'
testbench: '6.*'
- laravel: '9.*'
testbench: '7.*'
- php: '8.1'
laravel: '9.*'
testbench: '7.*'
laravel: '10.*'
testbench: '8.*'
stability: 'prefer-stable'
coverage: ''

Expand Down
7 changes: 6 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,15 @@
"laravel", "laraveltoman", "laravel-toman",
"toman", "payment", "gateway", "درگاه", "پرداخت"
],
"require": {
"php": "^8.0|^8.1",
"guzzlehttp/guzzle": "^7.2",
"laravel/framework": "^9.0|^10.0"
},
"require-dev": {
"phpunit/phpunit": "^8.0|^9.0",
"mockery/mockery": "^1.3.3",
"orchestra/testbench": "~3.8.0|^4.0|^5.0|^6.0|^7.0|^8.0",
"orchestra/testbench": "^7.0|^8.0",
"sempro/phpunit-pretty-print": "^1.0"
},
"autoload": {
Expand Down

0 comments on commit 681b232

Please sign in to comment.