NEETLee / php-libui

php bindings to the libui C library.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

php-libui

PHP bindings to the libui C library.

libui is a lightweight, portable GUI library that uses the native GUI technologies of each platform it supports.

Requirements

  • PHP >= 7.4
  • PHP FFI extension available
  • libui latest version

A Simple Example

include '/src/UI.php';
$ui = new UI('/usr/lib64/libui.so');
$ui->init();
$mainwin = $ui->newWindow("libui Control Gallery", 640, 480, 1);
$ui->controlShow($mainwin);
$ui->main();

About

php bindings to the libui C library.

License:Other


Languages

Language:C 55.7%Language:PHP 44.3%