WinBinder
WinBinder - The native Windows binding for PHP
What is WinBinder?
WinBinder is a PHP extension written in C, that allows you to build native client-side applications for the Windows Platform in pure PHP.
What is needed to start building WinBinder applications?
You will need the source code of PHP plus the WinBinder source code.
On which PHP versions has it been tested on?
- PHP 7.0
- PHP 7.2
How to compile the WinBinder extension?
Prerequisites:
- 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
Where to get further information?
See the docs!
Reporting Bugs
Report them via github issues.