Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .dev/docker/php/8.5/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
FROM php:8.5-cli-alpine AS lyngvi-php

RUN apk add --update linux-headers

RUN apk add --no-cache pcre ${PHPIZE_DEPS} \
libevent-dev openssl openssl-dev

RUN pecl install ev xdebug

RUN docker-php-ext-enable ev xdebug

RUN wget https://raw.githubusercontent.com/composer/getcomposer.org/f3108f64b4e1c1ce6eb462b159956461592b3e3e/web/installer -O - -q | php -- --quiet
RUN mv /composer.phar /usr/local/bin/composer
8 changes: 4 additions & 4 deletions .github/workflows/code-quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ jobs:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v3
- name: Install PHP 8.1
- name: Install PHP 8.4
uses: shivammathur/setup-php@v2
with:
php-version: 8.3
php-version: 8.4
- name: Install packages
run: composer install --no-progress
- name: Run CS
Expand All @@ -25,10 +25,10 @@ jobs:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v3
- name: Install PHP 8.1
- name: Install PHP 8.4
uses: shivammathur/setup-php@v2
with:
php-version: 8.3
php-version: 8.4
- name: Install packages
run: composer install --no-progress
- name: Run MD
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php: [ '8.2', '8.3', '8.4' ]
php: [ '8.4', '8.5', '8.6' ]

steps:
- uses: actions/checkout@v3
Expand Down
10 changes: 4 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
},
"minimum-stability": "stable",
"require": {
"php": "^8.2",
"php": "^8.4",
"react/event-loop": "^1.3.0",
"evenement/evenement": "^3.0.0",
"nesbot/carbon": "^2.64 || ^3.0",
Expand Down Expand Up @@ -47,13 +47,11 @@
"test": "phpunit",
"test-coverage": "@php -d xdebug.mode=coverage ./vendor/bin/phpunit --coverage-html .phpunit.cache/cov-html",

"test-8.2": "docker-compose run php8.2 composer test",
"test-8.3": "docker-compose run php8.3 composer test",
"test-8.4": "docker-compose run php8.4 composer test",
"test-8.5": "docker-compose run php8.4 composer test",
"test-all": [
"composer test-8.2",
"composer test-8.3",
"composer test-8.4"
"composer test-8.4",
"composer test-8.5"
]
},
"config": {
Expand Down
12 changes: 12 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
services:
php8.1:
build: ./.dev/docker/php/8.1
volumes:
- .:/fenrir:z
working_dir: /fenrir
command: sh
php8.2:
build: ./.dev/docker/php/8.2
volumes:
Expand All @@ -17,3 +23,9 @@ services:
- .:/fenrir:z
working_dir: /fenrir
command: sh
php8.5:
build: ./.dev/docker/php/8.5
volumes:
- .:/fenrir:z
working_dir: /fenrir
command: sh
10 changes: 9 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,17 @@ For more examples, check out the examples directory

## Support

Fenrir currently supports PHP 8.2+
Fenrir currently supports PHP 8.4+
Tests should pass nightly builds of newer versions, but this is not a supported usecase.

| PHP Version | Library version |
| ----------- | --------------- |
| 8.4+ | Current |
| 8.2, 8.3 | < 1.2 |
| 8.1 | < 1.0.1 |

Note: Bugfixes/features will not be backported to older versions. Older versions are as-is.

If you're using this in a Apache2/Nginx/etc webserver environment, you should probably limit yourself to only using Fenrir's REST capabilities.
These environments typically don't allow long-running processes.

Expand Down
Loading