How the Adapterman start command works
masterWhen you run ./vendor/bin/adapterman start, the following process occurs:
- The binary executes a PHP script with a custom configuration:
/usr/bin/env php -c vendor/joanhey/adapterman/cli-php.ini vendor/joanhey/adapterman/src/start.php "$@". - The
-c vendor/joanhey/adapterman/cli-php.iniflag applies a specific PHP configuration. This configuration disables certain built-in PHP functions, which the Adapterman framework then re-implements. This ensures that functions that typically behave differently under FPM work correctly under the PHP CLI. - The
vendor/joanhey/adapterman/src/start.phpscript handles the server startup and performs automatic framework detection (referencing logic found invendor/joanhey/adapterman/src/frameworks/index.php).