What’s new in PeachPie preview4

Posted on December 8, 2020, in category Information, News, tags: , , , ,

We are polishing up the project while continuously testing bigger and bigger applications. With the recent updates and fixes, we’ve been able to run popular components like Guzzle, Twig, HTMLPurifier, RandomLib, PHPUnit, DOMPdf, and more.

... continue reading

Targeting a library for both PHP and .NET

Posted on November 14, 2020, in category Information, Tutorial, tags: , , , ,

There is a massive amount of libraries and frameworks written in PHP, providing useful functionalities, some even commercially. You may have come across libraries, such as PDF generators, the Twig templating engine, random data generators, etc. Let’s take a look at how to develop the library for both PHP and .NET, so that C# developers […]

... continue reading

Twig In Razor

Posted on January 18, 2020, in category Announcement, Information, Samples, Tutorial, tags: , , , ,

Whenever you are building a website, you choose how to design your front-end. Different platforms each offer their own ways; in PHP, the selection of options is by far the most extensive.

... continue reading

The ultimate guide to migrating a PHP project to .NET with PeachPie

Posted on December 1, 2019, in category Information, Tutorial, tags: , , , , , , , ,

PHP is an incredibly rich ecosystem, but with the growing popularity of .NET Core, you may want to combine these two worlds. Let’s take a look at how we migrate a PHP project to .NET with the help of VS Code and PeachPie.

... continue reading

What’s New in PeachPie 0.9.43

Posted on June 25, 2019, in category Information, News, tags: , , , , , , ,

There are plenty of new features, improved interoperability between PHP and C#, compatibility enhancements and tons of fixes in the latest release of PeachPie compiler.

... continue reading

But Why?

Posted on June 20, 2019, in category Information, tags: , , , ,

Almost every post, article or thread on Reddit about PeachPie is inevitably met with someone posting the famed Ryan Reynolds GIF asking “but why?”, so instead of explaining each time, we decided to put our entire motivation behind this project on paper so that we can link to it.

... continue reading

Progress toward full PHP compatibility

Posted on April 29, 2019, in category Information, News, tags: , , , , , , ,

We’ve been a little less active with blog posts and announcements lately, but it’s not for a lack of activity around the PeachPie platform. Let’s take a look at the current state of PeachPie and how compatible we are with the plethora of PHP applications out there.

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

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