Skip to content

Commit 797b944

Browse files
authored
Merge pull request #674 from humanmade/issue-1836-add-support-for-php-8.4
Update docs to include PHP 8.4
2 parents 2aa7266 + 6f65b1b commit 797b944

File tree

3 files changed

+19
-17
lines changed

3 files changed

+19
-17
lines changed

other-docs/getting-started/install-php.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,11 @@ php -v
7070
You should see an output similar to
7171

7272
```shell
73-
PHP 8.2.28 (cli) (built: Mar 13 2025 18:21:38) (NTS)
73+
PHP 8.3.27 (cli) (built: Oct 21 2025 14:53:41) (NTS)
7474
Copyright (c) The PHP Group
75-
Zend Engine v4.2.28, Copyright (c) Zend Technologies
76-
with Zend OPcache v8.2.28, Copyright (c), by Zend Technologies
75+
Zend Engine v4.3.27, Copyright (c) Zend Technologies
76+
with Xdebug v3.4.5, Copyright (c) 2002-2025, by Derick Rethans
77+
with Zend OPcache v8.3.27, Copyright (c), by Zend Technologies
7778
```
7879

7980
**Note:** Different Linux distributions will have different PHP versions in their package repositories (above output is from

other-docs/guides/migrating/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,8 @@ following lines inside the top-level object (make sure to add any commas as need
134134
},
135135
"config": {
136136
"platform": {
137-
"php": "8.1",
138-
"ext-mbstring": "8.1"
137+
"php": "8.3",
138+
"ext-mbstring": "8.3"
139139
},
140140
"allow-plugins": {
141141
"composer/installers": true,

other-docs/guides/updating-php/README.md

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,13 @@ There are 2 key steps to getting ready for a new version of PHP:
1010

1111
## Altis Compatibility Chart
1212

13-
| Altis | PHP 8.3 | PHP 8.2 | PHP 8.1 |
14-
|-------|----------------|---------------|---------------|
15-
| v24 | **Supported** | **Supported** | *Deprecated* |
16-
| v23 | **Supported** | **Supported** | *Deprecated* |
17-
| v22 | **Supported** | **Supported** | **Supported** |
18-
| v21 | *Experimental* | **Supported** | **Supported** |
13+
| Altis | PHP 8.4 | PHP 8.3 | PHP 8.2 | PHP 8.1 |
14+
|-------|---------------|----------------|---------------|---------------|
15+
| v25 | **Supported** | **Supported** | *Deprecated* | *Deprecated* |
16+
| v24 | | **Supported** | **Supported** | *Deprecated* |
17+
| v23 | | **Supported** | **Supported** | *Deprecated* |
18+
| v22 | | **Supported** | **Supported** | **Supported** |
19+
| v21 | | *Experimental* | **Supported** | **Supported** |
1920

2021
## Checking PHP Version Compatibility
2122

@@ -30,7 +31,7 @@ In your `composer.json` you may have some code like the following:
3031
{
3132
"config": {
3233
"platform": {
33-
"php": "8.2"
34+
"php": "8.3"
3435
}
3536
}
3637
}
@@ -74,11 +75,11 @@ First install the standard and dependencies using the following command:
7475
composer global require dealerdirect/phpcodesniffer-composer-installer phpcompatibility/php-compatibility
7576
```
7677

77-
Next run the standard against your codebase for the target PHP version, in this example PHP 8.2:
78+
Next run the standard against your codebase for the target PHP version, in this example PHP 8.3:
7879

7980
```shell
8081
phpcs -p --standard=PHPCompatibility \
81-
--runtime-set testVersion 8.2 \
82+
--runtime-set testVersion 8.3 \
8283
--extensions=php \
8384
-d memory_limit=1G \
8485
--ignore=wordpress,vendor/altis,\*/tests/\* .
@@ -111,7 +112,7 @@ e.g. `--ignore=vendor/aws,vendor/guzzlehttp,...`.
111112
Once you are confident that your application is compatible with the version of PHP to upgrade to you should do the
112113
following for each environment:
113114

114-
1. Create a support ticket for the target environment with the type "Task", titled "Upgrade to PHP 8.2", replacing "8.2"
115+
1. Create a support ticket for the target environment with the type "Task", titled "Upgrade to PHP 8.3", replacing "8.3"
115116
with the target version if necessary ( noting that the updated PHP version will not be deployed automatically until
116117
the next application deployment ).
117118
2. Wait for the Altis team to confirm the environment has been updated.
@@ -136,7 +137,7 @@ your PHP version.
136137
The easiest way to add this is to run:
137138

138139
```sh
139-
composer config platform.php 8.2
140+
composer config platform.php 8.3
140141
```
141142

142-
(Replace 8.2 with your desired new PHP version.)
143+
(Replace 8.3 with your desired new PHP version.)

0 commit comments

Comments
 (0)