dvanced C#/PHP interoperability with PeachPie
summary
PeachPie compiles PHP to .NET DLLs using Roslyn and a PHP runtime so projects debug as .NET with DLL and PDB output and can call into or extend C# libraries and delegates. A full WordPress site compiles into an ~8 MB NuGet package and runs on Kestrel with middleware integration, static file support and response caching producing ~2 ms cached responses. Also demonstrates Razor/PHP interop, stepping across PHP↔C# call stacks and deploying a PHP-built app to Android. compiles PHP to .NET DLLs WordPress -> 8 MB NuGet 2 ms cached responses
AI-written summary · about
chapters (10)
- 0:00Introduction
- 2:40Demo
- 14:00Create class
- 18:28Call stack
- 22:05Calling PHP
- 24:46Visual Studio demonstration
- 32:02WordPress demonstration
- 39:51Generate package
- 40:55WordPress package
- 42:24Why compile WordPress
related talks
56mRunning PHP apps on .NET 5
45mCompiling and Running a PHP on .NET Core
44m🥧 A slice of PIE: revolutionising PHP extension installation
34mMaking PHP apps in Wasm incredibly fast
32mBuilding Native Apps with PHP
50mA slice of PIE: revolutionising PHP extension installation
34mNativePHP 2026
43mSpeeding up the Web with PHP 7
