A modern PHP compiler and runtime for .NET/.NET Core, enabling PHP code to run within the .NET ecosystem.
PeachPie is a modern PHP compiler and runtime built on Microsoft's Roslyn compiler platform. It compiles PHP code to run under the .NET and .NET Core runtimes, enabling PHP applications to integrate with .NET technologies and benefit from the .NET ecosystem's performance and security features. This allows developers to create hybrid applications where PHP and C# components communicate seamlessly.
PHP developers looking to integrate with .NET technologies, .NET developers needing to incorporate PHP code, and teams maintaining legacy PHP applications who want to leverage .NET's cross-platform capabilities and performance improvements.
PeachPie provides unique both-way interoperability between PHP and .NET, allowing developers to bridge two major ecosystems without rewriting code. It offers improved performance through Roslyn's type analysis, enhanced security via the .NET runtime, and the ability to compile PHP into portable class libraries for cross-platform development.
PeachPie - the PHP compiler and runtime for .NET and .NET Core
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Enables both-way interoperability, allowing PHP and C# components to communicate seamlessly within hybrid applications, as highlighted in the project goals.
Code runs in the standardized .NET environment, making it fully verifiable and distributable without source code, per the security feature description.
Leverages Roslyn's extensive type analysis to boost PHP application performance, a key goal mentioned in the README.
Compiles legacy PHP code into portable class libraries for building cross-platform apps on Microsoft platforms, as stated in the project aims.
The README notes it's a work in progress with a dynamic roadmap, meaning not all PHP language features or extensions are fully supported yet.
Requires the .NET runtime and tools, adding complexity for PHP-focused teams unfamiliar with Microsoft's development stack.
As a project maintained in spare time with nightly builds for patrons, it may have stability risks or slower updates compared to mature solutions.