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 5y ago4 watchersCompare

[ Source](https://github.com/ghostjat/php-iup)[ Packagist](https://packagist.org/packages/ghostjat/iup)[ RSS](/packages/ghostjat-iup/feed)WikiDiscussions master Synced 3w 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

Maturity30

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

[symfony/dom-crawler

Eases DOM navigation for HTML and XML documents

4.1k399.9M2.6k](/packages/symfony-dom-crawler)[codingfreaks/cf-cookiemanager

Manage cookies, scripts, and GDPR compliance on your Typo3 website with CodingFreaks Typo3 Cookie Manager. Customize cookie banners, streamline workflow, and enhance user experience. Ensure GDPR compliance and take control of cookie management with our Typo3 cookie management extension. Visit the official Typo3 Documentation page to learn more.

1830.7k](/packages/codingfreaks-cf-cookiemanager)[valentinek/yii2-closure-table-behavior

This extension allows you to get functional for closure table trees.

1615.5k](/packages/valentinek-yii2-closure-table-behavior)[kbs1/laravel-abbreviations

Abbreviations / acronyms support for your app.

1019.2k](/packages/kbs1-laravel-abbreviations)

PHPackages © 2026

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