- A
project.tomlthat sets a web root and a port. - PHP source files (and optionally a
composer.json).
Quick start
htdocs/index.php:
htdocs/index.php
project.toml at the repo root:
project.toml
BP_PHP_WEB_DIR is the folder that holds index.php. PORT sets the port PHP’s web server listens on. The Frame’s port setting should match.
Deploy
Pinning a PHP version
project.toml
Composer
If your repo has acomposer.json, dependencies are installed automatically. Commit your composer.lock for reproducible builds.
