Skip to content

Commit

Permalink
Add support for Laravel 11 & php 8.3 (#25)
Browse files Browse the repository at this point in the history
* Bumped up support for Laravel 11

* Updated Dockerfile and phpunit.yml

* Bump dependencies

---------

Co-authored-by: Vitalii <nevadskiy@gmail.com>
  • Loading branch information
eneadm and xalaida authored Apr 3, 2024
1 parent 7555452 commit a29702c
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 5 deletions.
14 changes: 14 additions & 0 deletions .docker/php8.3/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Specify the image
FROM php:8.3-cli

# Update dependencies
RUN apt-get update \
# Install Zip
&& apt-get install -y libzip-dev zip \
&& docker-php-ext-install zip

# Install Composer
COPY --from=composer:latest /usr/bin/composer /usr/local/bin/composer

# Specify the working directory
WORKDIR /app
4 changes: 3 additions & 1 deletion .github/workflows/phpunit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php: [ '7.2', '7.3', '7.4', '8.0', '8.1', '8.2' ]
php: [ '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3' ]
dependencies: [ 'lowest', 'highest' ]
exclude:
- php: '8.0'
Expand All @@ -20,6 +20,8 @@ jobs:
dependencies: 'lowest'
- php: '8.2'
dependencies: 'lowest'
- php: '8.3'
dependencies: 'lowest'

env:
PHP_VERSION: ${{ matrix.php }}
Expand Down
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@
}
],
"require": {
"php": "^7.2|^8.0",
"laravel/framework": "^7.0|^8.0|^9.0|^10.0"
"php": "^7.2|^8.0|^8.2",
"laravel/framework": "^7.0|^8.0|^9.0|^10.0|^11.0"
},
"require-dev": {
"phpunit/phpunit": "^8.0|^9.0",
"orchestra/testbench": "^5.0|^6.0|^7.0|^8.0",
"phpunit/phpunit": "^8.0|^9.0|^10.5",
"orchestra/testbench": "^5.0|^6.0|^7.0|^8.0|^9.0",
"friendsofphp/php-cs-fixer": "^3.0"
},
"autoload": {
Expand Down

0 comments on commit a29702c

Please sign in to comment.