Self-contained PHP app

Posted on June 17, 2019, in category Samples, Tutorial, tags: , , , , ,

PHP programs usually need a runtime installed on your target machine, appropriate version of PHP itself, a web server and some sort of configuration. This is no longer needed when you are compiling PHP code into .NET. The PHP web or console program can be distributed as a self-contained executable with no such dependencies.

... continue reading

PHP on .NET Core 3.0

Posted on May 28, 2019, in category Announcement, News, tags: , , ,

Our recent work on the PeachPie compiler gives us a few cool abilities and features. Not only can you compile and run PHP code natively on the .NET runtime (which means all the performance benefits and interop with C#) but now it all works fluently on the new .NET Core 3.0 and ASP.NET Core 3.0. Let’s […]

... continue reading

New Release – PeachPie 0.9.38

Posted on April 1, 2019, in category Announcement, Benchmark, Information, News, tags: , , , , , ,

In preparation for the stable release of PeachPie 1.0, we are cleaning up the code and conducting some final fixes and enhancements.

... continue reading

Using C# in PHP and Vice Versa

Posted on February 5, 2019, in category Information, Tutorial, tags: , , ,

Interoperability is one of the most valuable use cases of PeachPie: using C# (.NET) classes, interfaces and methods right in PHP code and vice versa. Let’s take a look at individual cases and how to achieve interop with PeachPie.

... continue reading

What’s new in PeachPie 0.9.31?

Posted on January 28, 2019, in category Information, News, tags: , , , , , , ,

As we make the final preparations before publishing version 1.0, lots of new additions have been made ahead of the latest release of PeachPie. Let’s take a look at what’s new.

... continue reading

2018 recap

Posted on December 27, 2018, in category Information, tags: , , , ,

It’s been a fruitful year, as we take a look back at 2018 to see what we achieved and forward to 2019 to set our sights on bigger and better things.

... continue reading

PeachPie extension for Visual Studio

Posted on November 19, 2018, in category Announcement, Information, News, tags: , , , , , , , , , , ,

We’ve had an extension for the lightweight VS Code IDE for quite some time, but now was as good a time as ever to create one for the full Visual Studio.

... continue reading

How to run PHP on Android with PeachPie

Posted on November 12, 2018, in category News, Tutorial, tags: , , , , , , , ,

One of the key advantages of PeachPie over its predecessor, Phalanger, is that we can also target .NET Core in addition to the full .NET Framework. This allows PeachPie-compiled PHP apps to run on all platforms .NET Core supports, which makes for some pretty funky possibilities.

... continue reading

PHPDoc, XMLDoc, and IntelliSense

Posted on August 22, 2018, in category Information, tags: , , , , , , , , ,

Well-documented code should be a given nowadays. In the world of PHP, the standard for documenting is the so-called PHPDoc, whereas .NET uses XMLDoc. In this article, we’ll take a look at how all this is connected with PeachPie.

... continue reading

Render a Razor Partial View on a PHP page

Posted on August 7, 2018, in category Information, Tutorial, tags: , , , , , , , , , ,

We discussed rendering a PHP file in a Razor View last week, but this week we’ll push the boundaries of interoperability between PHP and ASP.NET even further. What if we enriched a PHP website with Razor Partial Views coded in a C# project (those with the .cshtml extension)?

... continue reading