A Cloud Foundry buildpack for deploying PHP applications with automatic dependency installation, web server configuration, and extension support.
Cloud Foundry PHP Buildpack is a specialized tool that automates the deployment of PHP applications to Cloud Foundry platforms. It handles the entire application lifecycle from dependency resolution to runtime configuration, enabling developers to push PHP code without managing infrastructure details. It follows a 'batteries included but replaceable' philosophy, providing sensible defaults while allowing extensive customization.
PHP developers deploying applications to Cloud Foundry platforms, including cloud providers or private instances. It is also relevant for platform engineers managing Cloud Foundry environments who need to support PHP workloads.
Developers choose this buildpack for its comprehensive automation of PHP application deployment, including automatic dependency management, Composer integration, and built-in extensions for monitoring and session management. Its unique two-tier configuration placeholder system and support for user-defined extensions offer extensive flexibility while maintaining Cloud Foundry standards.
A Cloud Foundry Buildpack for PHP.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Detects PHP applications and installs required PHP versions, web servers, and extensions automatically during the supply phase, reducing manual setup.
Downloads and runs Composer to resolve dependencies, with validation against PHP version requirements from composer.json, ensuring consistency.
Includes extensions for New Relic, Dynatrace, and AppDynamics, simplifying APM integration without custom configuration.
Uses a two-tier system (@{VAR} for build-time, ${VAR} for runtime) to manage configuration files across deployment stages, as detailed in the user guide.
Supports CLI/worker applications without a web server via APP_START_CMD, with auto-detection of entry points like app.php or main.php.
Designed exclusively for Cloud Foundry platforms, making it unsuitable for deployments on other infrastructure without significant rework.
Custom placeholders are not supported; Nginx and PHP configs only expand ${PORT} and ${TMPDIR} via sed, forcing workarounds for other runtime variables.
Creating user-defined extensions requires implementing the Extension interface and managing JSON files, adding complexity for simple tweaks.