Cross platform UI development in PHP
C C++ Other
Clone or download
Latest commit a7e29cf Apr 29, 2018
Failed to load latest commit information.
classes update for 7.2 Jan 20, 2017
examples add support for onContentSizeChanged Nov 6, 2016
.travis.yml update for 7.2 Jan 20, 2017
LICENSE changes for osx, start versioning Oct 23, 2016 different images Nov 4, 2016
config.m4 UI\App removal: Nov 2, 2016
config.w32 UI\App removal: Nov 2, 2016
package.xml couple more exceptions Nov 7, 2016
php_ui.h bump after release Nov 2, 2016
ui.c fix #39 Apr 29, 2018


Build Status

This extension wraps the very excellent libui to provide PHP 7 with an API for the creation of cross platform native look-and-feel interfaces.


  • queue for pthreads


  • PHP 7
  • libui (use current master)
  • Windows/MacOSX/Linux (GTK-3)
  • patience


The documentation for UI can be found in the PHP manual


Pull requests are welcome, and should target the develop branch.


There are screenshots in the libui repository for normal form controls, here are captures of examples you can find in this repository:

Snake Starfield
snake starfield