PHPackages                             ghostjat/gtk - 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/gtk

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

ghostjat/gtk
============

A php gui toolkit library. php-7.4+ 64 bit is required!

106[2 issues](https://github.com/ghostjat/gtk/issues)C

Since Dec 29Pushed 3y ago2 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

Gtk - Gui Toolkit Bindings for php
==================================

[](#gtk---gui-toolkit-bindings-for-php)

Gtk written in pure php using FFI\_.

**Development Status:**WARNING: API is unstable WARNING: Lots of things are not implemented/supported.

See the 'examples' directory for working examples. Anything else will probably not work.

**Code:**

**License:** LGPL 2.1+

**Requirements:**

- php\_ 7.4+
- FFI\_

.. \_ffi: .. \_php:

INSTALL
-------

[](#install)

composer require ghostjat/gtk

Usage
-----

[](#usage)

```

use gtk\core;
use gtk\window;
use gtk\webView;

$window = new window();
$window->set_title('php-webkit');
$window->set_default_size(400, 240);
$webview = new webView();
$window->add($webview);
$webview->loadURL('https://github.com/ghostjat/gtk');
$window->show_all();
$window->connect('destroy', function(){
    core::main_quit();
});
core::main();

```

Search paths

```

TODO

Documentation
-------------
TODO

```

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance16

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity23

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% 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 (24 commits)")

---

Tags

ffigtk3guiphp

### Embed Badge

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

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

###  Alternatives

[rami/seo-bundle

All in One Symfony Seo Bundle

321.0k](/packages/rami-seo-bundle)

PHPackages © 2026

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