PHP on .NET Standard 2.0

For those of you who are hearing about Peachpie for the first time, the title of this article may seem even crazier than it does for the others. We are happy to announce that our project now allows you to compile PHP code directly for .NET Standard 2.0, which has a number of outrageous consequences.

... continue reading

Fast caching across requests in PHP & .NET

Posted on November 7, 2017, in category Information, Tutorial, tags: , , , , , , ,

In this article, we’d like to describe something you can benefit from implicitly when using Peachpie compiler. Peachpie compiles PHP sources to regular .NET binaries, which gives us several features that are simply not available to regular PHP. An example of this is caching some data you don’t want to create with every single request […]

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

Presentation at Microsoft in Prague

Posted on October 7, 2017, in category News, tags: , , , ,

We will be holding a presentation on the real world applications of Peachpie at the Microsoft office in Prague on October 25 at 6pm.

... continue reading

Pre-compiled ASP.NET PHP Website

Posted on August 22, 2017, in category Information, Tutorial, tags: , , , , , ,

Traditionally, PHP websites are hosted on Windows using IIS or Azure, but this standard approach has a few well-known drawbacks. In this article, we will take a look at how Peachpie allows you to run PHP websites on the ASP.NET Integrated Pipeline and why this is desirable.

... continue reading

What’s new in Peachpie 0.8.0

Posted on August 9, 2017, in category Announcement, Information, News, tags: , , , , , , ,

Many new features have been implemented into Peachpie lately and a lot has happened around the project. It’s time to raise the version to 0.8.0 and discuss what’s new in it.

... continue reading

.NET Summer Hackfest – Live Event in Prague with Peachpie and DotVVM

Posted on August 3, 2017, in category Announcement, Information, News, tags: , , , ,

Since Peachpie is now a member project of the .NET Foundation, it makes sense that we would participate in the .NET Summer Hackfest. As part of this great initiative, we will be holding a live event together with the guys from DotVVM at the Microsoft office in Prague.

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

Argument Unpacking in .NET

Posted on July 5, 2017, in category Announcement, Information, News, tags: , , , , , ,

This week, our article will include two topics: we shine the spotlight on the newly implemented feature of argument unpacking and on this occasion, we would also like to introduce the new compatibility matrix in our Wiki.

... continue reading

Optimizing PHP Code with Peachpie – Part 1

Posted on June 21, 2017, in category Benchmark, Information, tags: , , , , , , ,

Optimizations are one of the great advantages of compilers and just-in-time compilers, and one of the key features of Peachpie. In this post we’ll show you that with Peachpie we achieve far more than “just” compatibility with a significant amount of existing PHP code and great possibilities of interoperating between PHP and .NET.

... continue reading