PeachPie Reaches 1.0
Written by Kay Ewbank   
Tuesday, 30 March 2021

The developers of PeachPie have released version 1.0 of the open source development platform that can be used to treat PHP as a native .NET language. Work on version 1 of PeachPie has concentrated on getting PHP projects running on .NET fluently. 

PeachPie has a compiler, runtime, extension libraries, IDE support and MSBuild support. It is fully compatible with other .NET projects, fully managed, cross-platform, doesn't need any native PHP, and takes advantage of the whole .NET platform.

peachpie

The latest version provides support for PHP 7.4. PHP projects can be opened, built, debugged, and profiled in Visual Studio, and the new release shows off tThe latest WordPress version running on .NET, without any source files. This includes WordPress and the majority of plugins including Woocommerce and Elementor, and themes. C# support has also been improved as the new release emits and understands C#-8 like nullability context.

Other improvements to version one include the ability to compile and use selected composer packages as a class library by a C# project. The list includes Twig, PHPUnit, RandomLib, and dependencies of the Laravel framework. Code analysis at compilation has also been improved and the team says it provides detailed and useful diagnostics about the PHP code.

There's an online version of the PeachPie compiler that you can try to see how to compile PHP code to C#, Visual Basic, or the .NET Intermediate language (IL).

peachpieonline

The developers say that:

"with PeachPie the PHP code is receiving all the .NET stuff “for free” – neat diagnostic tools, debugging features, performance counters and monitoring, Just-in-Time compilation, Ahead-of-Time compilation, source-less distribution, GUI (Winforms, WPF, Xamarin Forms), MSBuild, packages from NuGet feeds, and more."

peachpie
 

More Information

Peachpie

Peachpie on Github

Related Articles

Peachpie Open Source PHP to .NET Compiler

PHP 8.0 Adds Metadata To Classes

PHP 7.4 Gets Foreign Function Interface

PHP Is Best?

C# 9 and F# 5 Released With .NET 5

To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on Twitter, Facebook or Linkedin.

Banner


Rust Wins Award For Significant Impact
18/07/2024

The Rust Language was the winner of the 2024 ACM SIGPLAN Programming Languages Software Award which recognizes a software system that has had a significant impact and carries a prize of $2500. Th [ ... ]



JSNation 2024 Sessions Now Available Online
26/07/2024

The sessions of this year's premium Javascript conference, JSNation, are now available online and for free. Since there's a lot of material to go through we did a bit of digging to suggest t [ ... ]


More News

kotlin book

 

Comments




or email your comment to: comments@i-programmer.info