{"id":13462636,"url":"https://github.com/lobtao/phpdesktop","last_synced_at":"2026-01-29T04:22:01.145Z","repository":{"id":37366979,"uuid":"145416322","full_name":"lobtao/phpdesktop","owner":"lobtao","description":"Developing Desktop Applications Like Developing Websites =\u003e phpdesktop","archived":false,"fork":false,"pushed_at":"2022-12-06T21:29:48.000Z","size":148245,"stargazers_count":511,"open_issues_count":4,"forks_count":77,"subscribers_count":28,"default_branch":"master","last_synced_at":"2026-01-06T16:35:18.537Z","etag":null,"topics":["cef","chrome","dcef","delphi","nginx","php","thinkphp","windows","workerman"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lobtao.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-08-20T12:43:45.000Z","updated_at":"2026-01-06T09:22:58.000Z","dependencies_parsed_at":"2023-01-24T10:01:08.130Z","dependency_job_id":null,"html_url":"https://github.com/lobtao/phpdesktop","commit_stats":null,"previous_names":["lobtao/php_desktop"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/lobtao/phpdesktop","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lobtao%2Fphpdesktop","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lobtao%2Fphpdesktop/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lobtao%2Fphpdesktop/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lobtao%2Fphpdesktop/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lobtao","download_url":"https://codeload.github.com/lobtao/phpdesktop/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lobtao%2Fphpdesktop/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28862139,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-28T22:56:21.783Z","status":"online","status_checked_at":"2026-01-29T02:00:06.714Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cef","chrome","dcef","delphi","nginx","php","thinkphp","windows","workerman"],"created_at":"2024-07-31T12:00:54.360Z","updated_at":"2026-01-29T04:22:01.140Z","avatar_url":"https://github.com/lobtao.png","language":"PHP","readme":"# phpdesktop  像开发网站一样开发桌面应用软件\n ![](res/php_desktop.png)\n# 特性\n\n1. 支持php的任意版本\n2. 支持winxp系统上使用php5.6\n3. 支持窗口阴影，皮肤编辑\n4. 支持sqlite\n5. 支持单机、cs模式的软件开发\n6. 支持最新版flash\n7. 支持窗口间消息通讯\n8. 支持窗口运行在子进程\n9. 支持启动页面为首页,启动页没有返回操作\n10. 支持多workerman服务\n\n# 简要使用说明\n\n1、运行演示程序 Win32\\debug\\niu_new.exe \n\n2、app目录下是一个单入口PHP项目\n\n3、config.json里配置\n\n    debug: 1开启调试默认 0关闭调试，开启调试后，右键菜单有调试菜单项\n    \n    url：配置PHP项目启动首页\n    \n    width：窗口打开的默认宽度，链接打开窗口宽度设置可用window.open传宽度参数\n    \n    height：窗口打开的默认高度，链接打开窗口高度设置可用window.open传高度参数\n    \n    title：主窗口打开的标题，其它窗口的标题根据网页titile自动调整\n    \n    skin：系统默认皮肤文件，tools\\皮肤编辑器.exe可编辑自定义皮肤，群共享里分享了N套皮肤，也可在原有皮肤基础上进行修改\n    \n    host：如果配置为127.0.0.1，只能本机访问，如果配置为0.0.0.0，则可以局域网访问\n    \n    web_port：PHP项目访问服务端口号\n       \n    workerman：可启动多个服务，如http,websocket,tcp同时支持\n    \n        enable：是否启动workerman服务\n        \n        servers：wokerman服务启动命令列表，json数姐格式\n        \n## 正式发布时建议关闭debug，右键菜单，workerman控制台将隐藏\n\n\n# 编译步骤\n1. delphi 2010  ftp://uploads@uploads.2ccc.com/  ftp里有2010简化版本\n2. 依赖H5神器组件 OldCEF4Delphi https://github.com/salvadordf/OldCEF4Delphi\n3. 依赖装逼UI组件 DynamicSkinForm VCL v1276 http://2ccc.com/article.asp?articleid=6110\n4. 依赖组件 cnvcl  http://www.cnpack.org/showdetail.php?id=863\u0026lang=zh-cn\n5. 依赖组件 线程库OTL，使用多线程守护worker进程 https://github.com/gabr42/OmniThreadLibrary/archive/release-3.07.5.zip\n6. 依赖组件 DIOCP5   https://github.com/ymofen/diocp-v5\n\n# FAQ\n\n1. 为什么用delphi编译\n\n答：delphi是开发win32高效工具，编译出来的exe，运行无其它依赖\n\n2. 为什么不用C#\n\n答：C#运行前需要安装.net framework，不能进行绿色发布运行\n\n3. 已经有了nw.js，为什么还需要php_desktop\n\n答：php简单高效，修改代码不需要重启应用，可达到热修复更新系统应用逻辑。目前php_desktop支持界面skin编辑，美观上比nw.js高N个档次\n\n# QQ交流群：423332770\n","funding_links":[],"categories":["Uncategorized"],"sub_categories":["Uncategorized"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flobtao%2Fphpdesktop","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flobtao%2Fphpdesktop","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flobtao%2Fphpdesktop/lists"}