Skip to content

Commit

Permalink
feat: Add support for Laravel 11 and PHP 8.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Qpor authored Jul 17, 2024
1 parent 85a4045 commit 503403c
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG PHP_VERSION="8.2"
ARG PHP_VERSION="8.3"

FROM php:${PHP_VERSION}-cli

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
build:
strategy:
matrix:
php: [ "8.2" ]
php: [ "8.3" ]
runs-on: ubuntu-latest

steps:
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
PHP_VERSION ?= 8.2
PHP_VERSION ?= 8.3
PHP ?= bin/php -d "xdebug.mode=off"
COMPOSER ?= bin/composer

.PHONY: setup
setup:
DOCKER_BUILDKIT=1 docker build -f .docker/Dockerfile -t laravel-prometheus-exporter:8.2 --build-arg PHP_VERSION=8.2 .
DOCKER_BUILDKIT=1 docker build -f .docker/Dockerfile -t laravel-prometheus-exporter:8.2 --build-arg PHP_VERSION=8.3 .

.PHONY: vendor
vendor:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Add the repository to composer.json
"repositories": [
{
"type": "vcs",
"url": "https://github.com/arquivei/laravel-prometheus-exporter"
"url": "https://github.com/heureka/laravel-prometheus-exporter"
}
],
```
Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
}
],
"require": {
"php": "^8.0 || ^8.1 || ^8.2",
"php": "^8.0 || ^8.1 || ^8.2 || ^8.3",
"guzzlehttp/guzzle": "^7.4.2",
"illuminate/routing": "^10.0",
"illuminate/support": "^10.0",
"illuminate/routing": "^10.0|^11.0",
"illuminate/support": "^10.0|^11.0",
"promphp/prometheus_client_php": "^2.6.0"
},
"require-dev": {
Expand Down

0 comments on commit 503403c

Please sign in to comment.