Skip to content

Commit

Permalink
Merge pull request #151 from utopia-php/PLA-1854
Browse files Browse the repository at this point in the history
feat: telemetry support
  • Loading branch information
basert authored Nov 13, 2024
2 parents 354ff0d + 438f50d commit bfb7812
Show file tree
Hide file tree
Showing 6 changed files with 1,945 additions and 369 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.0'
php-version: '8.1'

- name: Setup Docker
run: docker compose up -d --build
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ RUN composer install --ignore-platform-reqs --optimize-autoloader \
--no-plugins --no-scripts --prefer-dist \
`if [ "$TESTING" != "true" ]; then echo "--no-dev"; fi`

FROM php:8.0-cli-alpine as final
FROM php:8.1-cli-alpine as final
LABEL maintainer="team@appwrite.io"

ENV DEBIAN_FRONTEND=noninteractive \
PHP_VERSION=8
PHP_VERSION=82

RUN \
apk add --no-cache --virtual .deps \
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ $app->run($request, $response);

## System Requirements

Utopia Framework requires PHP 8.0 or later. We recommend using the latest PHP version whenever possible.
Utopia Framework requires PHP 8.1 or later. We recommend using the latest PHP version whenever possible.

## More from Utopia

Expand Down
11 changes: 9 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,20 @@
"bench": "vendor/bin/phpbench run --report=benchmark"
},
"require": {
"php": ">=8.0",
"utopia-php/compression": "0.1.*"
"php": ">=8.1",
"utopia-php/compression": "0.1.*",
"utopia-php/telemetry": "0.1.*"
},
"require-dev": {
"phpunit/phpunit": "^9.5.25",
"laravel/pint": "^1.2",
"phpstan/phpstan": "^1.10",
"phpbench/phpbench": "^1.2"
},
"config": {
"allow-plugins": {
"php-http/discovery": false,
"tbachert/spi": false
}
}
}
Loading

0 comments on commit bfb7812

Please sign in to comment.