Skip to content

Commit a29702c

Browse files
eneadmxalaida
andauthored
Add support for Laravel 11 & php 8.3 (#25)
* Bumped up support for Laravel 11 * Updated Dockerfile and phpunit.yml * Bump dependencies --------- Co-authored-by: Vitalii <[email protected]>
1 parent 7555452 commit a29702c

File tree

3 files changed

+21
-5
lines changed

3 files changed

+21
-5
lines changed

.docker/php8.3/Dockerfile

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Specify the image
2+
FROM php:8.3-cli
3+
4+
# Update dependencies
5+
RUN apt-get update \
6+
# Install Zip
7+
&& apt-get install -y libzip-dev zip \
8+
&& docker-php-ext-install zip
9+
10+
# Install Composer
11+
COPY --from=composer:latest /usr/bin/composer /usr/local/bin/composer
12+
13+
# Specify the working directory
14+
WORKDIR /app

.github/workflows/phpunit.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
strategy:
1212
fail-fast: false
1313
matrix:
14-
php: [ '7.2', '7.3', '7.4', '8.0', '8.1', '8.2' ]
14+
php: [ '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3' ]
1515
dependencies: [ 'lowest', 'highest' ]
1616
exclude:
1717
- php: '8.0'
@@ -20,6 +20,8 @@ jobs:
2020
dependencies: 'lowest'
2121
- php: '8.2'
2222
dependencies: 'lowest'
23+
- php: '8.3'
24+
dependencies: 'lowest'
2325

2426
env:
2527
PHP_VERSION: ${{ matrix.php }}

composer.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@
2020
}
2121
],
2222
"require": {
23-
"php": "^7.2|^8.0",
24-
"laravel/framework": "^7.0|^8.0|^9.0|^10.0"
23+
"php": "^7.2|^8.0|^8.2",
24+
"laravel/framework": "^7.0|^8.0|^9.0|^10.0|^11.0"
2525
},
2626
"require-dev": {
27-
"phpunit/phpunit": "^8.0|^9.0",
28-
"orchestra/testbench": "^5.0|^6.0|^7.0|^8.0",
27+
"phpunit/phpunit": "^8.0|^9.0|^10.5",
28+
"orchestra/testbench": "^5.0|^6.0|^7.0|^8.0|^9.0",
2929
"friendsofphp/php-cs-fixer": "^3.0"
3030
},
3131
"autoload": {

0 commit comments

Comments
 (0)