Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
wxphp
Build cross-platform software with rich native GUIs using the combined power of the PHP language and the wxWidgets library.
Somehow related, I've been using pywebview for some internal tools: https://github.com/r0x0r/pywebview
Probably not as full-featured as Electronjs, but since we have a bunch of python scripts to convert to desktop apps, it's very useful.
I am a bit surprised by the critical tone in the comments here. Phpdesktop [1] is, for example, a very nice application, and the ability of php to just make some simple scripts on the go and have something that works, is wonderful (compared to js where you often have to build etc, the threshold of getting started on a new computer is high). I have several times needed to make simple applications with a database, and php is perfect for that usecase. Making it simpler to share these applications to non-technical users for offline use is nice
[1] https://github.com/cztomczak/phpdesktop
Wait, this PHP-GTK thing is abandonware! Last release in 2008, and only supports PHP 5.5.
Currently, and for most purposes (especially for new projects), PHP 7 is already being considered old... the amount of work that went into PHP 8 vs. PHP 5 is simply staggering.
PHP 5.5 is just too old to develop against!
The same applies to https://php-qt.org/ which "gives you" Qt 4 on PHP 5.1.
Fortunately enough, for those seeking a GUI toolkit for PHP, there's WxPHP which supports PHP 7 and 8:
https://github.com/wxphp/wxphp
Related posts
- Release: NiceGUI 1.2.7 with ui.download, easier color definitions, "aggrid from pandas dataframe" and much more
- Does anyone have experience using pyWebView? Just curious if there are any caveats or gotchas to it?
- How to open a URL in a tkinter window
- NiceGUI 1.2.0: Electron for Python
- What is the best way to simulate "open an web browser application and login" without having to open 400 browsers to get 400 users online?