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

Performance Tuning with Array Caching

Posted on October 31, 2017, in category Benchmark, News, tags: , , , , , , , , , ,

It’s been a while since we produced our last benchmarks, but the wait is over. Although we still aren’t focusing on performance per se, the recently implemented array caching feature in Peachpie can really help boost your app’s speed.

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

Peachpie at .NET Conf 2017

Posted on September 18, 2017, in category Announcement, Information, News, tags: , , , ,

Another great success for our little project: Peachpie will receive a full feature on this year’s .NET Conf, as Jakub will be talking to Scott Hanselman about the project and its benefits.

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

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