peachpiecompiler / peachpie

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

Xamarin Support #89

Closed ClosetGeek-Git closed 5 years ago

ClosetGeek-Git commented 6 years ago

What is the status on xamarin support? How can one test Peachpie in an xamarin android app?

jakubmisek commented 6 years ago

This has not been tested properly, but the current status is to target a PHP project to netstandard1.6 framework which can be referenced from a regular C# Xamarin project acting as a bootstrapper.

petrroll commented 6 years ago

As of right now only referencing the resulting .dll works. Adding a project reference does not.

jakubmisek commented 5 years ago

related: https://twitter.com/pchpcompiler/status/1037709599158296576

jakubmisek commented 5 years ago

the tutorial on how to run PHP with Xamarin https://www.peachpie.io/2018/11/php-on-android.html