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


Improved Code Completion With JetBrains Mellum
29/10/2024

JetBrains has launched Mellum, a proprietary large language model specifically built for coding. Currently available only with JetBrains AI Assistant, Mellum is claimed to provide faster, sm [ ... ]



Firefox 1.0 Released 20 Years Ago
10/11/2024

A news item with the headline "Firefox browser takes on Microsoft" from 20 years ago has attracted renewed attention. It was originally published on the BBC News website on November 9th, 2004 rec [ ... ]


More News

espbook

 

Comments




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