This app loads PHP extensions via a composer.json
file. It runs with the
built-in PHP server.
pack build php-composer-extension-sample --buildpack paketo-buildpacks/php --builder paketobuildpacks/builder-jammy-full
docker run --interactive --tty --env PORT=8080 --publish 8080:8080 php-composer-extension-sample
curl http://localhost:8080
The Paketo PHP buildpack requires the Full Jammy Stack. See stack docs for more details