Skip to content

Commit 48c1929

Browse files
authored
Merge pull request #1960 from victormacko/master
Update the documentation to mention PHP 8.4 is supported
2 parents 3ee0e57 + 662172e commit 48c1929

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

docs/runtimes.mdx

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ The runtimes are available as AWS Lambda layers that you can use (explained belo
2323

2424
### PHP-FPM runtime for web apps
2525

26-
Name: `php-83-fpm`, `php-82-fpm`, `php-81-fpm`, and `php-80-fpm`.
26+
Name: `php-84-fpm`, `php-83-fpm`, `php-82-fpm`, `php-81-fpm`, and `php-80-fpm`.
2727

2828
This runtime uses PHP-FPM to run **web applications** on AWS Lambda, like on a traditional server.
2929

@@ -33,7 +33,7 @@ It's **the easiest to start with**: it works like traditional PHP hosting and is
3333

3434
### Event-driven functions
3535

36-
Name: `php-83`, `php-82`, `php-81`, and `php-80`.
36+
Name: `php-84`, `php-83`, `php-82`, `php-81`, and `php-80`.
3737

3838
AWS Lambda was initially created to run _functions_ (yes, functions of code) in the cloud.
3939

@@ -49,7 +49,7 @@ This runtime works great to create **event-driven micro-services**.
4949

5050
### Console
5151

52-
Name: `php-83-console`, `php-82-console`, `php-81-console`, and `php-80-console`.
52+
Name: `php-84-console`, `php-83-console`, `php-82-console`, `php-81-console`, and `php-80-console`.
5353

5454
This runtime lets you run CLI console commands on Lambda.
5555

@@ -77,23 +77,24 @@ functions:
7777
runtime: php-81-console
7878
```
7979
80-
Bref currently provides runtimes for PHP 8.0, 8.1, 8.2 and 8.3:
80+
Bref currently provides runtimes for PHP 8.0, 8.1, 8.2, 8.3 and 8.4:
8181
82+
- `php-84`
8283
- `php-83`
8384
- `php-82`
8485
- `php-81`
8586
- `php-80`
87+
- `php-84-fpm`
8688
- `php-83-fpm`
8789
- `php-82-fpm`
8890
- `php-81-fpm`
8991
- `php-80-fpm`
92+
- `php-84-console`
9093
- `php-83-console`
9194
- `php-82-console`
9295
- `php-81-console`
9396
- `php-80-console`
9497

95-
Bref also provides runtimes for alpha versions of PHP 8.4.
96-
9798
<Callout>
9899
`php-80` means PHP 8.0.\*. It is not possible to require a specific "patch" version. The latest Bref versions always aim to support the latest PHP versions, so upgrade via Composer frequently to keep PHP up to date.
99100
</Callout>
@@ -177,10 +178,12 @@ functions:
177178

178179
The `${...}` notation is the [syntax to use variables](https://serverless.com/framework/docs/providers/aws/guide/variables/) in `serverless.yml`. The Bref plugin provides the following variables:
179180

181+
- `${bref:layer.php-84}`
180182
- `${bref:layer.php-83}`
181183
- `${bref:layer.php-82}`
182184
- `${bref:layer.php-81}`
183185
- `${bref:layer.php-80}`
186+
- `${bref:layer.php-84-fpm}`
184187
- `${bref:layer.php-83-fpm}`
185188
- `${bref:layer.php-82-fpm}`
186189
- `${bref:layer.php-81-fpm}`

0 commit comments

Comments
 (0)