NativePHP: A framework for building desktop apps with PHP

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • pywebview

    Build GUI for your Python program with JavaScript, HTML, and CSS

  • 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.

  • phpdesktop

    Develop desktop GUI applications using PHP, HTML5, JavaScript and SQLite

  • 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

  • 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.

    InfluxDB logo
  • wxphp

    Build cross-platform software with rich native GUIs using the combined power of the PHP language and the wxWidgets library.

  • 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

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts