ci: require PHP 8.4, test 8.4 only
CI / PHP 8.4 (push) Failing after 1m5s

composer.lock already pins packages that need PHP >= 8.4.1 (symfony/* v8,
nesbot/carbon 3, laravel/pint), so `composer install` on the 8.2 / 8.3 CI
legs has been failing since v1.0.0. Bump composer.json to "php": "^8.4",
regenerate the lock platform block, drop 8.2 / 8.3 from the ci.yml matrix,
and update the "PHP 8.2+" references in the docs. The Docker image was
already php:8.4-apache.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JKT9p3bfP8RZesExdYCS52
This commit is contained in:
kzbkowskiandClaude Sonnet 5 committed 2026-09-10 09:20:00 +02:00
1 parent b313c126ce
commit 2b970226fc
8 files changed
+15 -11

No files matched your search

+1 -1
View File
@@ -15,7 +15,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php: ['8.2', '8.3', '8.4']
php: ['8.4']
steps:
- uses: actions/checkout@v4
+1 -1
View File
@@ -7,7 +7,7 @@ change the architecture.
A Laravel 11 + [LdapRecord](https://ldaprecord.com/) web panel that manages an
Active Directory domain: users, computers, groups and **read-only** GPO, plus a
dashboard and an org chart. PHP 8.2+. Interface is PL/EN.
dashboard and an org chart. PHP 8.4+. Interface is PL/EN.
## Golden rules
+3 -3
View File
@@ -5,7 +5,7 @@ users, computers, groups and read-only Group Policy — built on Laravel 11 and
[LdapRecord](https://ldaprecord.com/).**
[![License: MIT](https://img.shields.io/badge/license-MIT-green.svg)](LICENSE)
![PHP 8.2+](https://img.shields.io/badge/php-8.2%2B-777bb4.svg)
![PHP 8.4+](https://img.shields.io/badge/php-8.4%2B-777bb4.svg)
![Laravel 11](https://img.shields.io/badge/laravel-11-ff2d20.svg)
ADconsole gives helpdesk and sysadmin staff a clean UI for the tasks that
@@ -21,7 +21,7 @@ is no database copy of your directory to drift out of sync.
access is limited to members of one AD group you nominate.
- **Bilingual UI** — Polish and English, switchable per session.
- **Deploys in minutes** — a `docker compose up` stack, or drop it on any
PHP 8.2+ host.
PHP 8.4+ host.
> ⚠️ ADconsole performs privileged directory operations (password resets,
> account enable/disable, deletions). Read [`SECURITY.md`](docs/SECURITY.md) and the
@@ -46,7 +46,7 @@ Full walkthrough: [`docs/architecture.md`](docs/architecture.md).
## Requirements
- **PHP 8.2+** with `ldap`, `pdo_mysql` (or your DB driver), `mbstring`, `curl`,
- **PHP 8.4+** with `ldap`, `pdo_mysql` (or your DB driver), `mbstring`, `curl`,
`zip`, `openssl`
- **Composer 2**
- A SQL database (MariaDB/MySQL recommended; SQLite/PostgreSQL work too) — for
+1 -1
View File
@@ -5,7 +5,7 @@
"keywords": ["laravel", "active-directory", "ldap", "ldaprecord", "admin-panel", "self-hosted"],
"license": "MIT",
"require": {
"php": "^8.2",
"php": "^8.4",
"directorytree/ldaprecord-laravel": "^4.0",
"laravel/framework": "^11.0",
"laravel/tinker": "^2.9"
Generated
+2 -2
View File
@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "df02946623d83c0aba5d3a95697f1a2d",
"content-hash": "7e2191fe362b1a9d8af556a317f82fc0",
"packages": [
{
"name": "brick/math",
@@ -8966,7 +8966,7 @@
"prefer-stable": true,
"prefer-lowest": false,
"platform": {
"php": "^8.2"
"php": "^8.4"
},
"platform-dev": {},
"plugin-api-version": "2.6.0"
+4
View File
@@ -50,6 +50,10 @@ _Nothing yet._
`docker run --rm -v adconsole_db_data:/from -v "$PWD/docker/data/db":/to alpine cp -a /from/. /to/`
(same for `adconsole_app_storage` → `docker/data/app_storage`). See
[upgrading.md](upgrading.md#v110--docker-layout).
- **Minimum PHP is now 8.4** (`composer.json` `"php": "^8.4"`). The `composer.lock`
already pinned packages needing 8.4.1+ (`symfony/*` v8, `nesbot/carbon` 3,
`laravel/pint`), so 8.2 / 8.3 `composer install` was already failing. `ci.yml`
tests 8.4 only now; the Docker image was already `php:8.4-apache`.
## [1.0.0] - 2026-09-08
+2 -2
View File
@@ -5,7 +5,7 @@ classic PHP host.
## 1. Prerequisites
- PHP **8.2+** with extensions: `ldap`, `pdo_mysql` (or `pdo_pgsql` / `pdo_sqlite`),
- PHP **8.4+** with extensions: `ldap`, `pdo_mysql` (or `pdo_pgsql` / `pdo_sqlite`),
`mbstring`, `curl`, `zip`, `openssl`, `fileinfo`, `ctype`, `json`
- Composer 2
- A web server (Apache with `mod_rewrite`, or nginx + PHP-FPM)
@@ -119,7 +119,7 @@ server {
}
location ~ \.php$ {
fastcgi_pass unix:/run/php/php8.2-fpm.sock;
fastcgi_pass unix:/run/php/php8.4-fpm.sock;
fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
include fastcgi_params;
}
+1 -1
View File
@@ -85,7 +85,7 @@ git push origin v1.0.0
issues (Gitea has no Discussions).
- The workflows in `.github/workflows/` are read by Gitea Actions if Actions is
enabled on the instance (otherwise harmless):
- `ci.yml` — Pint + PHPUnit on PHP 8.2/8.3/8.4, on every push / PR.
- `ci.yml` — Pint + PHPUnit on PHP 8.4, on every push / PR.
- `release.yml` — on a `vX.Y.Z` tag, builds `docker/php/Dockerfile` target
`prod` and pushes `…/adconsole:{X.Y.Z, X.Y, latest}` to the instance's
container registry. Needs `packages: write`; if the built-in token can't