bref/php-fpm-runtime

This package is abandoned and no longer maintained. No replacement package was suggested.

PHP-FPM runtime for AWS Lambda

Fund package maintenance!
mnapoli
bref.sh/#enterprise

Installs: 390

Dependents: 0

Suggesters: 0

Security: 0

Stars: 5

Watchers: 1

Forks: 0

Open Issues: 0

Type:project

2.2.0 2023-02-13 14:35 UTC

This package is auto-updated.

Last update: 2023-04-05 10:20:08 UTC


README

Warning

This repository was created during the beta version of Bref v2, but it was merged back into https://github.com/brefphp/bref shortly after. It has no reason to exist anymore and will be eventually deleted.

This repository contains the PHP-FPM runtime code (learn more about Bref runtimes).

This code is included in the fpm Lambda runtime provided by Bref (see https://github.com/brefphp/aws-lambda-layers for the code that builds these layers using Docker). It basically turns HTTP Lambda events into PHP-FPM requests.

It is stored in a GitHub repository separate from Bref because it is not used by Bref or by the application code (it runs as the Lambda runtime only). Additionally, the FPM runtime runs in a separate process from the application code, so we can don't have dependency constraints between application code and this code. As such, this code is bundled in the runtime. The benefit is that installing Bref in your project doesn't install all this code, nor its dependencies.