Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PHP-powered GUI Applications for Windows

I know that PHP is an interpreted language and for web-based things, isn't designed for running GUI applications on actual OSs, but is there a way?

Basically, is there a framework / system that allows me to create "native" (basically, binary, .exe, looks like a Win32 app with the native controls and all) windows, GUI-based applications?

So I could code a PHP app with such framework, and (somehow) compile it into an .exe, and distribute it as a normal windows application. Possible?

I could use VS/.NET , C# and all, but using PHP would allow me to reuse an internal framework for many extra functions, shortening the development cycle a lot.

So, is there such a way to do it?

like image 983
Jimmie Lin Avatar asked Jul 29 '11 08:07

Jimmie Lin


People also ask

Can PHP be used for desktop applications?

PHP can also be used for creating client-side applications, like desktop applications. Desktop applications are usually characterized by a graphic user interface. With knowledge in using the advanced features of PHP, such as PHP-GTK, these client-side applications can be developed.

Can you make a GUI with PHP?

Design unique GUIs for your PHP applicationsExeOutput for PHP lets you create modern and complex user interfaces with its visual editor. You can include ribbons or traditional menubar+toolbar, choose skins, configure UI components, show popup windows, display a tray icon...

What is wxapp PHP?

wxPHP stands for "wxWidgets for PHP" and is a PHP extension that wraps the wxWidgets library, which allows writing multi-platform desktop applications that make use of the native graphical components available to the different platforms.


1 Answers

The best solution if you have knowledge of .Net would be to use Phalanger (Blog) which basically compile php code to the .Net intermediate language and allow you to access all standard .Net libraries (including WPF and WinForms so you could create GUIs)

The more modern version of this project is now called PeachPie.

enter image description here

like image 102
Julien Roncaglia Avatar answered Oct 05 '22 23:10

Julien Roncaglia