Skip to content

Commit 43655e7

Browse files
committed
Add .env.ci configuration and update PHP/Laravel version compatibility
1 parent dc627c8 commit 43655e7

File tree

3 files changed

+15
-8
lines changed

3 files changed

+15
-8
lines changed

.env.ci

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
APP_ENV=testing
2+
APP_DEBUG=true
3+
APP_URL=http://localhost
4+
APP_KEY=base64:1234567890
5+
APP_NAME=UseValidEmail
6+
APP_VERSION=1.0.0
7+
APP_VERSION=1.0.0

.github/workflows/php.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ jobs:
1111
runs-on: ubuntu-latest
1212
strategy:
1313
matrix:
14-
php: ['8.1', '8.2', '8.3', '8.4']
15-
laravel: ['9.*', '10.*', '11.*']
14+
php: ['8.2', '8.3', '8.4']
15+
laravel: ['10.*', '11.*']
1616
exclude:
1717
# Laravel 11 requires PHP 8.2+
18-
- php: '8.1'
18+
- php: '8.2'
1919
laravel: '11.*'
2020

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

composer.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@
2626
"analyse": "echo 'Checking dependencies...' && composer require --dev larastan/larastan && phpstan analyse"
2727
},
2828
"require": {
29-
"php": "^8.0",
30-
"illuminate/support": "^8.12|^9.0|^10.0|^11.0|^12.0",
31-
"illuminate/container": "^8.12|^9.0|^10.0|^11.0|^12.0",
32-
"illuminate/contracts": "^8.12|^9.0|^10.0|^11.0|^12.0",
29+
"php": "^8.1",
30+
"illuminate/support": "^8.12|^9.0|^10.0|^11.0",
31+
"illuminate/container": "^8.12|^9.0|^10.0|^11.0",
32+
"illuminate/contracts": "^8.12|^9.0|^10.0|^11.0",
3333
"usevalid-email/php-sdk": "^1.0"
3434
},
3535
"require-dev": {
@@ -75,4 +75,4 @@
7575
}
7676
}
7777
}
78-
}
78+
}

0 commit comments

Comments
 (0)