cztomczak/phpdesktop
cztomczak/phpdesktop has 2,887 GitHub stars and 578 forks. GitHot measured +2 stars in 24 hours and +3 in 7 days. Last checked 2026-11-12 13:35 UTC. Last push 2026-07-31.
Develop desktop GUI applications using PHP, HTML5, JavaScript and SQLite
可以做什么
- New Linux release with latest Chromium - Discussion #359 - Ongoing funding
实测星标增长
- 24小时
- +2
- 7天
- +3
- 15天
- 正在收集历史
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文PHP Desktop
Table of contents:
- Introduction
- Downloads
- Support
- Fundings for new features
- Support development
- Seeking sponsors
- Past sponsors
Introduction
PHP Desktop is an open source project founded by Czarek Tomczak in 2012 to provide a way for developing native desktop GUI applications using web technologies such as PHP, HTML5, JavaScript and SQLite. Think of it as Electron for PHP. It is a convienient tool for converting PHP web apps and PHP CLI tools to desktop applications with little effort. The development workflow you are used to while creating web applications remains the same, there is no new framework / API to learn. The process of turning an existing website into a desktop application is basically a matter of copying it to the "phpdesktop/www/" directory.
In a certain sense phpdesktop acts as a PHP to EXE compiler. It embeds a web browser, a multi-threaded web server and a PHP interpreter. All embedded into a single application, a portable folder that you can easily distribute to end users by packing it to zip archive or by making an installer for your application. The web server embedded is a custom edition of Mongoose, a web server used by NASA on the International Space Station. Supported browsers are Internet Explorer and Google Chrome via open source Chromium. The package with Chrome embedded has no external dependencies, everything is included in phpdesktop binaries and works out of the box on a user's computer.
All popular PHP frameworks are supported, see the PHP frameworks support wiki page for example configurations for CakePHP, CodeIgniter, Laravel, Symfony, Yii and Zend Framework. You can create a standalone executable for distribution with the help of the Inno Setup installer. PHP sources can be protected with the many of the available PHP encoders. PHP Desktop is released under non-restrictive license, thus it is free for commercial use.
It is one of the top goals for PHP Desktop to be stable, to work reliably. PHP Desktop does not suffer from memory leaks. PHP by design was never intended for running long hours/days, as desktop applications usually do. This is not a concern when using PHP Desktop, as it is running an internal web server and serving pages through CGI. So when PHP script execution ends, PHP-CGI process is killed and all memory is always freed.
Lots of other useful information can be found on the Knowledge Base wiki page, Discussions page and on the Old Forum.
Downloads
- Windows
- Mac
- PHP Desktop Chrome 130.1 for Mac release
- Linux
There are two ways to be notified about new releases:
- Watch the project with the "Releases only" option checked
- Subscribe to the RSS/Atom feed
Support
- Documentation is on the Wiki Pages. Start with the Knowledge Base, Settings and Chrome settings wiki pages.
- Ask questions and report problems on the Discussions page
- See also this externally maintained tutorial: Create your first Desktop Application with PHP and PHP Desktop
Fundings for new features
Here is a list of ongoing fundings for new features in PHP Desktop:
| Feature | Announced | Status |
|---|---|---|
| New Linux release with latest Chromium | Discussion #359 | Ongoing funding |
Support development
If you would like to support PHP Desktop general development efforts by making a donation please click the PayPal Donate button below:
Seeking sponsors
PHP Desktop is seeking companies to sponsor further development of the project. There are many proposals for new features submitted in the issue tracker and on wiki pages. Most notable are:
- Monthly releases with latest Chrome
- An automated build system
- Cross-platform support with full functionality on Mac and Linux
- More Javascript and PHP API exposed for accomplishing desktop specific tasks
- Better integration with desktop, taskbar and systray
- HTTPS/SSL support
- Custom window themes
- Running app in background
- SQLite encryption
- Desktop notifications
If your company would like to sponsor PHP Desktop development efforts then please contact Czarek. Long term sponsorships are welcome and Czarek is open to ideas about the project. He would love to spend more time on developing this project, but he can't afford doing so in his free time.
Past Sponsors
Special thanks to Xlinesoft for supporting PHP Desktop development.
Xlinesoft develops PHPRunner, a rapid application development tool for building database-driven PHP applications. Some developers package PHPRunner applications with PHP Desktop.
探索相关项目
Asabeneh/30-Days-Of-Python
30 Days of Python 编程挑战是一份循序渐进的指南,用于在 30 天内学习 Python 编程语言。这项挑战可能需要超过 100 天。请按自己的节奏进行。这些视频或许也有帮助:https://www.youtube.com/channel/UC7PNRuno1rzYPb1xLa4yktw
78,618 星标grafana/grafana
开放且可组合的可观测性与数据可视化平台。可对来自 Prometheus、Loki、Elasticsearch、InfluxDB、Postgres 等众多数据源的指标、日志和追踪进行可视化。
77,859 星标redis/redis
对于正在构建实时数据驱动应用的开发者而言,Redis 是首选、速度最快且功能最丰富的缓存、数据结构服务器和文档与向量查询引擎。
77,472 星标apache/superset
Apache Superset 是一个数据可视化与数据探索平台
75,495 星标