PHP 5.4 compiler for .NET/Mono frameworks. Phalanger compiles legacy PHP code to MSIL while being fully compatible with PHP behavior.
C# PHP HTML Yacc Java Lex Other
Switch branches/tags
Nothing to show
Latest commit d6d9b30 Jul 9, 2017

Phalanger - the PHP language compiler for .NET Framework

Introducing full-featured PHP 5.4 runtime & compiler for .NET/Mono frameworks. Phalanger is an open-source implementation of PHP, compatible with the vast array of existing PHP code. In addition Phalanger gives PHP-application developers lot of new possibilities; it improves the performance, allows to use modern environments and takes advantage of seamless .NET integration.


Phalanger is a predecessor of Peachpie compiler ( - PHP 7.1 compiler for .NET and .NET Core frameworks.

Visual Studio Integration

Phalanger is integrated into Visual Studio so it gives code colorization, debugging and IntelliSense capabilities.

  • Syntax highlighting
  • Compilation & Debugging
  • Installs Phalanger binaries

Download on