Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

James_Moore's avatar

PHP console app to Windows.exe / OSX ... dmg ?

Is there a way to take a simple php console application and have it compiled down to a simple double click windows exe or osx executable that would open the command prompt or terminal and allow some body to use it, with out having to have them go into the command prompt or terminal and php index.php to run it.

0 likes
1 reply
realrandyallen's avatar

I don't think you'd need a php console application for this, you could easily just do this with a BAT file (windows) or a shell script (osx) that the user could double click to run

1 like

Please or to participate in this conversation.