Composer Without PHP: Embedding vivacity in ePHPm
I embedded vivacity, a pure-Rust Composer-compatible installer, in ePHPm so one binary can install a PHP app's dependencies without PHP. This is what it took upstream and in ePHPm, and how it does against Composer on Windows.
The pitch for ePHPm is one binary in place of php-fpm, nginx and Redis. There was
always a hole in it though. To deploy a PHP app you still need to run composer install. That drags PHP and
composer.phar back onto the box or into the container build, just for that one step. ephpm composer install now
runs a pure-Rust, Composer-compatible installer called vivacity inside the
ePHPm binary. One binary serves the app and installs its dependencies. On Windows that works with no PHP installed at
all.…
