peachpiecompiler / peachpie

PeachPie - the PHP compiler and runtime for .NET and .NET Core
https://www.peachpie.io
Apache License 2.0
2.31k stars 201 forks source link

PeachPie 1.0.* Status #1109

Closed Aragas closed 1 year ago

Aragas commented 1 year ago

Hello! This is most likely highly unorthodox, so it's understandable if it's not PeachPie's priority! As a PoC we (the modding community) added PHP support for a C# game (.NET Framework/.NET Core 3.1) called Mount & Blade II: Bannerlord. We currently use the 1.0.* version of PeachPie and it seems to work. Currently, we don't have any serious mods written via PHP, but this could be the lack of information available about the PHP extension.

Since the high-performance API is not available, it's understandable why .NET Standard is not used anymore, we don't expect support of .NET Framework by the current version of PeachPie. We do would like to know, in your opinion, is it a good idea to continue the use of 1.0.*? It would be great to know if there are any issues that could arise by a more mainstream use of the PHP runtime!

Btw, here's the PHP Support mod. Switch to the dev branch!

jakubmisek commented 1 year ago

I like it.

We're maintaining 1.0.* releases for ,NET Framework 4.7.2+ and .netstandard 2.1 compatibilities for our clients. It's getting fixes, but not new features. In case you'd need some kind of interoperability feature that would make sense i.e. calling something weird from PHP code or vice versa, we could merge it into both versions.