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


Insights From AI Index 2024 Report
17/04/2024

Published this week, the latest Stanford HAI AI Index report tracks worldwide trends in AI. A mix of its new research and findings from many other sources, it provides a wide ranging look at how  [ ... ]



Hydraulic Atlas Bows Out, Welcome Electric Atlas
21/04/2024

Boston Dynamics dismayed us at the beginning of the week with a video that suggested was discontinuing Atlas, its humanoid robot. Fast forward a day and its successor was unveiled. Designed to be even [ ... ]


More News

raspberry pi books

 

Comments




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