php / php/frankenphp

Include frankenphp version in logs

Open Beginner friendly
#2,483 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Go
Stars
11.3k
Forks
488
Avg merge
4d 10h
Merged PRs (30d)
11

Description

Describe your feature request

On startup, FrankenPHP logs the following:

FrankenPHP started 🐘 {"php_version": "8.2.31", "num_threads": 4, "max_threads": 8, "max_requests": 0}

The startup log should include the FrankenPHP version, consistent with what frankenphp -v reports:

FrankenPHP started 🐘 {"version": "1.12.4", "php_version": "8.2.31", "num_threads": 4, "max_threads": 8, "max_requests": 0}

Optionally, the Caddy version could be included too, mirroring the full version string from frankenphp -v.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Locate the startup log that emits “FrankenPHP started” and compare its version data with the output of frankenphp -v. Update the startup log to include the FrankenPHP version, and determine whether the optional Caddy version should also be represented. Done means the startup output matches the requested version fields.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
backend, observability
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.