static-php-cli
static-php-cli copied to clipboard
Build standalone PHP binary on Linux, macOS, FreeBSD, Windows, with PHP project together, with popular extensions included.
I want to start using the project in vendored mode and add our own custom PHP extension. This means we should add additional 'sources' and 'ext' items to have a...
## What does this PR do? Minor changes for allowing to use the library in a custom project instead of forking and adjusting code within the "project base". Thread of...
https://github.com/crazywhalecc/static-php-cli/blob/main/src/SPC/builder/windows/SystemUtil.php#L42 可以使用[vswhere.exe](https://github.com/php/php-sdk-binary-tools/blob/master/bin/vswhere.exe) 获取 vswhere.exe 位置:https://github.com/php/php-sdk-binary-tools/tree/master/bin ```shell git config --global core.autocrlf false git clone -b master https://github.com/php/php-sdk-binary-tools.git set "__PROJECT__=%cd%" set "PATH=%PATH%;%__PROJECT__%\php-sdk-binary-tools\bin\;%__PROJECT__%\php-sdk-binary-tools\msys2\usr\bin\;" vswhere.exe vswhere.exe -legacy -prerelease -format json ``` 结果: ```text instanceId:...