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. PeachPie 0.9.18 The latest minor version update of PeachPie, the PHP compiler and runtime on top […]

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

Food for Thought: WordPress Plugin in C#

Posted on October 24, 2017, in category Information, Tutorial, tags: , , , , , ,

WordPress is now entirely ready to be compiled to and executed on .NET with Peachpie. With this out of the way, this article will examine one of the great usecases of this endeavor – how to write a plugin for WordPress in C#.

... continue reading

Wrap-up: .NET Conf 2017

Posted on September 26, 2017, in category Information, tags: , , , , , , , ,

The curtains have closed on this year’s .NET Conf and it has truly been an amazing event. Let’s take a look back and summarize the Peachpie session.

... continue reading

Packing PHP Libraries into NuGets

Posted on August 2, 2017, in category Tutorial, tags: , , , , ,

Packaging code libraries is a common way of providing and deploying a maintainable piece of code with an individual functionality. Packages are self-contained and their consumers usually don’t have to deal with their dependencies and requirements. In this article, we bridge two seemingly distant technologies and demonstrate how to pass a PHP library as a […]

... continue reading

A Practical Demonstration of C#/PHP Interoperability

Posted on January 31, 2017, in category Information, Samples, Tutorial, tags: , , , , ,

The Peachpie project is finally at a point where it can be used for real world purposes and applications. This article will show some more advanced interoperability options that are now available for you to try.

... continue reading

Three ways of using C# in PHP with Peachpie Compiler

Posted on December 20, 2016, in category News, Tutorial, tags: , , , , ,

We have talked a lot about calling PHP from within C# thanks to Peachpie, but the beauty of this compiler is that the interoperability feature works both ways. In this article, we will take a look at some of the ways you can use C# in PHP.

... continue reading

Tutorial: Advanced Interoperability Between PHP and C# with Peachpie

Posted on July 25, 2016, in category Information, Tutorial, tags: , , , , , , , ,

Peachpie is a compiler of the PHP language to .NET. The project is still in progress, but there is a plethora of interesting usecases for the compiler. This article is a tutorial for some of the more advanced interoperability options between PHP and C# using Peachpie.

... continue reading