Peachpie lets PHP complied files to be executed in .NET framework

After the announcement of making .NET framework an open-source resource, Microsoft continued its open-source revolution by making its Roslyn complier technology an open-source resource too. This powerful compiler can enable the developer to compile codes of C# to JavaScript and thereby enabling an interactive scripting environment with C#.
Now a recently unveiled Roslyn-based compiler project named Peachpie allows PHP to be compiled into portable class libraries and executed in the .Net framework.
In addition to possible performance gains, compiling to .Net provides PHP developers access to the existing culture of software written for .Net, as well as features of the .Net runtime itself.
Another advantage of using Roslyn: It generates abstract syntax trees (ASTs) from PHP code. Allowing the source code to be transformed by the compiler and made available to the user makes it easier to write analysis tools or applications that modify the behavior of other applications.
Peachpie stems from an earlier project named Phalanger, a PHP runtime and compiler for .Net. Provided as a toolset for Visual Studio 2010 through 2015, Phalanger enabled such tasks as debugging a PHP website directly in Visual Studio.
Many features planned for Peachpie aren't available yet, as the current emphasis is on providing a working example of the technology. For now, the parser supports only PHP 5, although support for PHP 7 is planned. A basic implementation of the AST is available, but plans are under way to build ASTs using Roslyn's advanced ISymbol interface. And none of the .Net-related reflection or introspection tools are available yet.
PHP's broad deployment -- it's been in use for 20 years -- guarantees it will remain a common technology choice for rapid Web development. With PHP 7, the language enjoyed a major performance boost and gained its own abstract syntax tree functionality, among other feats.
But PHP's inconsistent design and piecemeal evolution opened up opportunities for other platforms, such as Node.js, to step in and offer a more modern set of solutions. (PHP debugging, for instance, has long been problematic).
Peachpie isn't likely to arrest that trend, but it will at least provide a way for both .Net and PHP developers to leverage what each development environment has to offer: PHP's breadth of existing applications and development expertise and .Net's runtime and metaprogramming facilities.
Find a course provider to learn .Net
Java training | J2EE training | J2EE Jboss training | Apache JMeter trainingTake the next step towards your professional goals in .Net
Don't hesitate to talk with our course advisor right now
Receive a call
Contact NowMake a call
+1-732-338-7323Take our FREE Skill Assessment Test to discover your strengths and earn a certificate upon completion.
Enroll for the next batch
.Net Core Training Courses
- Jan 27 2026
- Online
.Net Core Training Courses
- Jan 28 2026
- Online
.Net Core Training Courses
- Jan 29 2026
- Online
.Net Core Training Courses
- Jan 30 2026
- Online
Related blogs on .Net to learn more

How to become a Dot Net Developer
Become a skilled .NET developer by mastering C# and .NET Core, obtaining relevant certifications, and gaining practical experience through internships or projects. Enhance your career prospects with in-depth knowledge and hands-on practice in .NET de

One Integrated Library coming soon for .NET developers!
Microsoft is planning to incorporate platform integration concept called "one library to rule them all." With Dot Net Standard, developers have to master a single base library to reach multiple Dot Net platforms

A career in DOT Net Programming | Its multifarious benefits and future scope
The IT sector is a highly promising industry with diverse employment opportunities. One of the core programming languages systems that drove the global growth of the IT industry is DOT Net programming.

What is the use of ‘Tag Helpers’ in ASP.Net 5?
Microsoft’s ASP.Net latest release aka ASP.Net 5 – aka ASP.Net vNext comes with several advancements and features that help to improve the techniques used for developing modern web applications. With more than 10 years of evolution, this ASP.Net is c

More reasons to choose Net open-source framework!
Microsoft is a pioneer in software manufacturing and it never ceased to surprise the software community around the world.

.NET Framework in a Nutshell
.NET is a programming framework developed by Microsoft which allows developers to develop software applications more easily and efficiently. Starting from 1990, Microsoft has developed numerous versions of .NET framework. Framework is simply a bunch

A Comprehensive Look at the Career of a .NET Developer
The ASP.NET framework, developed and marketed by Microsoft, is a major framework for the development of applications and dynamic web pages. The increased accessibility to internet services around the world has resulted in numerous career opportunitie

Why ASP.NET Core 1.0 Has Replaced ASP.NET 5
World of information technology is extremely volatile and the technologies continue to evolve and change consistently. One of the web technologies “.NET” (dot net) introduced by Microsoft has also changed of late. The new technology; ASP.NET core now

Tick, Tick, Time to upgrade your .NET Framework!
Building idiot-proof software programs is a great deal and takes a lot of effort. Development frameworks like .NET are Indeed a great boon to the software developers.

Everything you needed to know about Dot Net
The .NET is a very large framework and sometimes is hard to decide whether to code something or use an existing component of the framework. An outline of whatever DOT NET offers is simple records. It is tough to keep in path since, .NET evolves very
Latest blogs on technology to explore

Drug Safety & Pharmacovigilance: Your 2026 Career Passport to a Booming Healthcare Industry!
Why This Course Is the Hottest Ticket for Science Grads & Healthcare Pros (No Lab Coat Required!)" The Exploding Demand for Drug Safety Experts "Did you know? The global pharmacovigilance market is set to hit $12.5B by 2026 (Grand View Research, 202

Launch Your Tech Career: Why Mastering AWS Foundation is Your Golden Ticket in 2026
There’s one skill that can open all those doors — Amazon Web Services (AWS) Foundation

Data Science in 2026: The Hottest Skill of the Decade (And How Sulekha IT Services Helps You Master It!)
Data Science: The Career that’s everywhere—and Nowhere Near Slowing Down "From Netflix recommendations to self-driving cars, data science is the secret sauce behind the tech you use every day. And here’s the kicker: The U.S. alone will have 11.5 mill

Salesforce Admin in 2026: The Career Goldmine You Didn’t Know You Needed (And How to Break In!)
The Salesforce Boom: Why Admins Are in Crazy Demand "Did you know? Salesforce is the 1 CRM platform worldwide, used by 150,000+ companies—including giants like Amazon, Coca-Cola, and Spotify (Salesforce, 2025). And here’s the kicker: Every single one

Python Power: Why 2026 Belongs to Coders Who Think in Python
If the past decade was about learning to code, the next one is about coding smarter. And in 2026, the smartest move for any IT enthusiast is learning Python — the language that powers AI models, automates the web, and drives data decisions across ind

The Tableau Revolution of 2025
"In a world drowning in data, companies aren’t just looking for analysts—they’re hunting for storytellers who can turn numbers into decisions. Enter Tableau, the #1 data visualization tool used by 86% of Fortune 500 companies (Tableau, 2024). Whether

From Student to AI Pro: What Does Prompt Engineering Entail and How Do You Start?
Explore the growing field of prompt engineering, a vital skill for AI enthusiasts. Learn how to craft optimized prompts for tools like ChatGPT and Gemini, and discover the career opportunities and skills needed to succeed in this fast-evolving indust

How Security Classification Guides Strengthen Data Protection in Modern Cybersecurity
A Security Classification Guide (SCG) defines data protection standards, ensuring sensitive information is handled securely across all levels. By outlining confidentiality, access controls, and declassification procedures, SCGs strengthen cybersecuri

Artificial Intelligence – A Growing Field of Study for Modern Learners
Artificial Intelligence is becoming a top study choice due to high job demand and future scope. This blog explains key subjects, career opportunities, and a simple AI study roadmap to help beginners start learning and build a strong career in the AI

Java in 2026: Why This ‘Old’ Language Is Still Your Golden Ticket to a Tech Career (And Where to Learn It!
Think Java is old news? Think again! 90% of Fortune 500 companies (yes, including Google, Amazon, and Netflix) run on Java (Oracle, 2025). From Android apps to banking systems, Java is the backbone of tech—and Sulekha IT Services is your fast track t