As of 2018-01-01, this repository is shut down, to be restricted to be read-only.
Thanks everybody for their support, esp. @jaredallard!
For an up-to-date development, please consider the fork of user wagy at https://github.com/wagy/WinBinder/, which reportedly also has PHP 7.X support.
WinBinder - The native Windows binding for PHP
WinBinder is a PHP extension written in C, that allows you to build native client-side applications for the Windows Platform in pure PHP.
You will need the source code of PHP plus the WinBinder source code.
On which PHP versions has it been tested on?
- PHP 5.6
- PHP 5.5
- PHP 5.4
For a release working with PHP 7, please consider the fork of user wagy at https://github.com/wagy/WinBinder/.
- Get Microsoft Visual Studio (Express version will do)
- Get PHP source code, e.g. from http://windows.php.net/download/
- Compile PHP by following this guide https://wiki.php.net/internals/windows/stepbystepbuild
- Clone this repo into the folder ext/winbinder
- compile PHP with your options
1. add
--with-winbinder
to compile WinBinder statically into php.exe
configure.bat --enable-snapshot-build --enable-debug-pack --with-winbinder
2. add--with-winbinder=shared
to compile WinBinder shared, i.e., to get a *.dll
configure.bat --enable-snapshot-build --enable-debug-pack --with-winbinder=shared
See the docs!
Report them via github issues.