Skip to content

DarkSynx/WinBinder-PHP7

 
 

Repository files navigation

WinBinder

Join the chat at https://gitter.im/stefan-loewe/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

How to compile the WinBinder extension?

Prerequisites:

  1. Get Microsoft Visual Studio (Express version will do)
  2. Get PHP source code, e.g. from http://windows.php.net/download/
  3. Compile PHP by following this guide https://wiki.php.net/internals/windows/stepbystepbuild
  4. Clone this repo into the folder ext/winbinder
  5. 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.

About

WinBinder - The native Windows binding for PHP

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 75.6%
  • PHP 23.8%
  • Other 0.6%