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

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

What’s New in PeachPie 0.9.18 – Attributes and Generics

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

We just released PeachPie 0.9.18, which targets some syntax extensions, so that PeachPie can provide more and much needed CLR interoperability features. Extending the syntax does not affect any existing PHP code and only provides developers with more options.

... 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

Rendering PHP files in Razor Views

Posted on July 31, 2018, in category Information, News, Tutorial, tags: , , , , , , , ,

Much has been said about the interoperability options PeachPie opens up between PHP and .NET code. One of the most practical use cases is combining Razor and PHP Partial Views, which is what today’s article will be about.

... continue reading

Setting up MediaWiki on .NET with Peachpie

Posted on February 26, 2018, in category Announcement, News, Tutorial, tags: , , , , , , , , , , ,

The Peachpie compiler platform has already proven to be able to run massive real world applications without modifications. We have already tested WordPress, an older version of CodeIgniter and PHPUnit, but now it’s time for another massive PHP project: MediaWiki. What is Peachpie? Peachpie is a complete re-implementation of the PHP language to be executed […]

... continue reading

Introducing Peachpie 0.9

Posted on January 16, 2018, in category Announcement, News, tags: , , , , , , , ,

Lots of changes have been made to the Peachpie project this year already. So much so that we reached the next milestone in our roadmap and thus upped the version to 0.9. This article will explain what’s new and what’s still to come.

... continue reading

2017 Wrap-up

Posted on December 28, 2017, in category Information, tags: , , , , , ,

As 2017 is drawing to a close, let’s take a look back at the progress we made this year and preview what you can expect in the next year.

... continue reading