Skip to content

⬆️ Bump minimum PHP to 8.3#805

Merged
retlehs merged 2 commits intomasterfrom
php-8.3
Mar 8, 2026
Merged

⬆️ Bump minimum PHP to 8.3#805
retlehs merged 2 commits intomasterfrom
php-8.3

Conversation

@retlehs
Copy link
Copy Markdown
Member

@retlehs retlehs commented Mar 8, 2026

Bump minimum PHP version to 8.3

This PR raises Bedrock's minimum PHP requirement from 8.1 to 8.3.

Why 8.3 (not 8.2)?

PHP 8.1 reached end of life on December 31, 2025.
PHP 8.2 reaches EOL in December 2026, which would force another bump soon.
PHP 8.3 receives security support through December 2027, giving this change a longer useful window.

Ecosystem alignment

The Roots ecosystem is converging on 8.3:

  • Radicle already requires PHP 8.4 minimum
  • Trellis defaults to PHP 8.3
  • Laravel 13 requires php: ^8.3, which aligns with Acorn's direction

Setting 8.3 here keeps Bedrock consistent with the tools most users are running alongside it.

Adoption

Per WordPress.org stats, PHP 8.3 is at ~19% of WordPress installs. Bedrock's audience (developers managing their own infrastructure via Trellis, containers, or local dev tools) is well-positioned to be on 8.3 already.

If your project requires an earlier PHP version, adjusting the php constraint in composer.json is a one-line change.

Sources:

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@retlehs retlehs self-assigned this Mar 8, 2026
@retlehs retlehs merged commit 9d18fd7 into master Mar 8, 2026
8 checks passed
@retlehs retlehs deleted the php-8.3 branch March 8, 2026 20:44
xelmido pushed a commit to xelmedia/bedrock-headless-zilch that referenced this pull request Apr 1, 2026
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant