Creating an Executable Console Application in PHP

Posted on March 15, 2020, in category Tutorial, tags: , , , ,

There are a few tools out there that allow you to create an executable console application in PHP, but they tend to be a little heavy and limited to a certain OS. With PeachPie, console apps can be created straightforwardly, without having to distribute the sources, and it can be debugged right in Visual Studio.

... continue reading

Self-contained PHP app

Posted on June 17, 2019, in category Samples, Tutorial, tags: , , , , ,

PHP programs usually need a runtime installed on your target machine, appropriate version of PHP itself, a web server and some sort of configuration. This is no longer needed when you are compiling PHP code into .NET. The PHP web or console program can be distributed as a self-contained executable with no such dependencies.

... continue reading