mirror of
https://github.com/php/php-sdk-binary-tools.git
synced 2026-03-25 08:02:15 +01:00
php-sdk-2.0.0alpha3
PHP SDK
PHP SDK is a tool kit for Windows PHP builds
License
BSD
Notes
This reworked SDK is compatible with PHP 7.0 and above. The compatibility with php-sdk-binary-tools-20110915.zip available from windows.php.net is kept, though some irrelevant tools was removed. Though, newer tools and workflows are now possible, and the work is in progress. The toolset consists on a mix of the hand written scripts, selected MSYS2 parts and standalone programs.
SDK tools
phpsdk_buildtree- initialize the development filesystem structurephpsdk_deps- check and handle dependency librariesphpsdk_version- show SDK versionphpsdk_dllmap- create a JSON listing of DLLs contained in zip files
Other available tools
bison3.0.2,re2c0.15.3awk,gawk,sed,grepdiff,diff3,patchmd5sum,sha1sum,sha224sum,sha256sum,sha384sum,sha512sum7za,zip,unzipwget
Not included
These are not included with the PHP SDK, but might be useful for the compilation and other tasks. While Visual C++ is the only required, the others might enable some additional functionality. Care yourself about making them available on your system.
Visual C++- required alwaysclang- optional, useful for experimental builds and for static analysisICC- optional, useful for experimental buildsGit- optional, useful for PHP source managementCppcheck- optional, used for static analysis
Usage
Basic usage example
git clone https://github.com/OSTC/php-sdk-binary-tools.git c:\php-sdkcd c:\php-sdkgit checkout new_binary_tools- either run or click on
phpsdk-vc14-x64.batin the SDK root cdto c:\php-sdk and click onphpsdk-vc14-x64.batin the SDK rootphpsdk_buildtree phpmastergit clone https://github.com/php/php-src.git && cd php-src, or fetch a zipballphpsdk_deps --update --branch master- do the build, eg.
buildconf && configure --enable-cli && nmake
TODO more extensive documentation on the wiki
Staying compatible with the older version of the SDK
git clone https://github.com/OSTC/php-sdk-binary-tools.git c:\php-sdk- follow the instructions on the PHP wiki page
Description
⚠️ ARCHIVED: Original GitHub repository no longer exists. Preserved as backup on 2026-01-22T16:25:20.034Z
Languages
M4
36.7%
C
19.7%
PHP
16.9%
C++
9.9%
XSLT
7.5%
Other
9.3%