PHPackages                             ghostjat/iup - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. ghostjat/iup

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

ghostjat/iup
============

PHP bindings to the IUP-Toolkit for desktop application.

24175C

Since May 30Pushed 4y ago4 watchersCompare

[ Source](https://github.com/ghostjat/php-iup)[ Packagist](https://packagist.org/packages/ghostjat/iup)[ RSS](/packages/ghostjat-iup/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependenciesVersions (1)Used By (0)

php-iup [![IUP Logo](logo_32x32.png)](logo_32x32.png)
=====================================================

[](#php-iup-)

php-ffi experiment
==================

[](#php-ffi-experiment)

php7.4 interface to the IUP toolkit for building GUI's.

Description
-----------

[](#description)

[IUP-Toolkit](http://www.tecgraf.puc-rio.br/iup)

IUP is a multi-platform toolkit for building graphical user interfaces. IUP's purpose is to allow a program source code to be compiled in different systems without any modification. Its main advantages are:

- It offers a simple API.
- High performance, due to the fact that it uses native interface elements.
- Fast learning by the user, due to the simplicity of its API.

Synopsis
--------

[](#synopsis)

WARNING:
This module is in its early stages and should be considered a Work in Progress. The interface is not final and may change in the future.

Sample GUI:

 [![php-iup](https://camo.githubusercontent.com/e3a2d9f46d1c5038258cbc22a1b1f641272807308b02e9dca8e6a9796ed774f6/68747470733a2f2f7261772e6769746875622e636f6d2f67686f73746a61742f7068702d6975702f6d61737465722f746573742f7068702d6975702e706e67)](https://camo.githubusercontent.com/e3a2d9f46d1c5038258cbc22a1b1f641272807308b02e9dca8e6a9796ed774f6/68747470733a2f2f7261772e6769746875622e636f6d2f67686f73746a61742f7068702d6975702f6d61737465722f746573742f7068702d6975702e706e67) [![cbox](https://camo.githubusercontent.com/e5ad94cf8ef1b69337e31bfebbac6018a98b09ce001c93c355939f1f3fb31902/68747470733a2f2f7261772e6769746875622e636f6d2f67686f73746a61742f7068702d6975702f6d61737465722f746573742f63626f782e706e67)](https://camo.githubusercontent.com/e5ad94cf8ef1b69337e31bfebbac6018a98b09ce001c93c355939f1f3fb31902/68747470733a2f2f7261772e6769746875622e636f6d2f67686f73746a61742f7068702d6975702f6d61737465722f746573742f63626f782e706e67) [![Scintilla](https://camo.githubusercontent.com/e99d041b117818c279ff2c3ebdc0cfba9e33c72e0baba94b6c984882ec9b5125/68747470733a2f2f7261772e6769746875622e636f6d2f67686f73746a61742f7068702d6975702f6d61737465722f746573742f7363696e74696c6c612e706e67)](https://camo.githubusercontent.com/e99d041b117818c279ff2c3ebdc0cfba9e33c72e0baba94b6c984882ec9b5125/68747470733a2f2f7261772e6769746875622e636f6d2f67686f73746a61742f7068702d6975702f6d61737465722f746573742f7363696e74696c6c612e706e67)[![Hello World IUP Application](https://camo.githubusercontent.com/6fc37733d00d43dfe7d101023810ce14296521bf02c68dc6b91fd94cfbfb940e/68747470733a2f2f7261772e6769746875622e636f6d2f67686f73746a61742f7068702d6975702f6d61737465722f746573742f6d656e752e6a7067)](https://camo.githubusercontent.com/6fc37733d00d43dfe7d101023810ce14296521bf02c68dc6b91fd94cfbfb940e/68747470733a2f2f7261772e6769746875622e636f6d2f67686f73746a61742f7068702d6975702f6d61737465722f746573742f6d656e752e6a7067)

Sample code:

```
require __DIR__.'/../vendor/autoload.php';
use iup\core;
$iup = new core();

$multiText = $iup->text(null);
$vbox = $iup->vbox($multiText);
$iup->setAttribute($multiText, "MULTILINE", "YES");
$iup->setAttribute($multiText, "EXPAND", "YES");
$dlg = $iup->dialog($vbox);
$iup->setAttribute($dlg, 'TITLE', 'php-iup');
$iup->setAttribute($dlg, 'SIZE', 'QUARTERxQUARTER');
$iup->showXY($dlg, $iup::IUP_CENTER, $iup::IUP_CENTER);
$iup->setAttribute($dlg, 'USERSIZE', null);
$iup->mainLoop();
$iup->close();

```

Author
------

[](#author)

Shubham Chaudhary

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity29

Early-stage or recently created project

 Bus Factor1

Top contributor holds 97.1% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/64d55c44db241b5edf53d7f95b9209822731ed613173055ad2535f03137f119c?d=identicon)[ghostjat](/maintainers/ghostjat)

---

Top Contributors

[![ghostjat](https://avatars.githubusercontent.com/u/18235933?v=4)](https://github.com/ghostjat "ghostjat (34 commits)")[![CViniciusSDias](https://avatars.githubusercontent.com/u/6991415?v=4)](https://github.com/CViniciusSDias "CViniciusSDias (1 commits)")

---

Tags

ffiguiiupiup-toolkitphpphp-ffiphp-ffi-experimentphp-iupphp7php74php8

### Embed Badge

![Health badge](/badges/ghostjat-iup/health.svg)

```
[![Health](https://phpackages.com/badges/ghostjat-iup/health.svg)](https://phpackages.com/packages/ghostjat-iup)
```

###  Alternatives

[mirzabusatlic/laravel-schedule-monitor

Monitor the output of scheduled tasks in a database table

2869.8k](/packages/mirzabusatlic-laravel-schedule-monitor)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
