将 PHP 应用打包成原生桌面应用:Nightrain

jopen 9年前

PHP Nightrain 是一个采用 Python 编写的PHP应用打包工具,能够把 PHP 编写的 PHP/HTML/CSS/Javascript 应用打包成原生桌面应用程序。支持 Windows、Mac 和 Linux 系统操作系统。

特性:

  • PHP 5 Pre-compiled
  • Option to use your own PHP
  • GUI rendering your PHP/HTML Web Application
  • Set custom width and height
  • Start application Maximized if required
  • Start application Fullscreen if required
  • Window Title changes as the value of the title tag changes
  • executable for Windows (nightrain.exe)
  • executable for Mac (nightrain or nightrain.app)
  • executable for Linux (nightrain)

示例输出

下面列出的是PHP Nightrain最终产品在各种操作系统上的输出示例。

Windows

将 PHP 应用打包成原生桌面应用:Nightrain

Mac (OS X)

将 PHP 应用打包成原生桌面应用:Nightrain

Ubuntu

将 PHP 应用打包成原生桌面应用:Nightrain

Cent OS

将 PHP 应用打包成原生桌面应用:Nightrain

https://github.com/naetech/nightrain