PHPackages                             terremoth/php-win32-dialog - 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. terremoth/php-win32-dialog

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

terremoth/php-win32-dialog
==========================

Native Win32 GUI Message Boxes for PHP

v1.0.0(1y ago)21GPL-3.0-or-laterPHPPHP ^8.1

Since Nov 12Pushed 1y ago1 watchersCompare

[ Source](https://github.com/terremoth/php-win32-dialog)[ Packagist](https://packagist.org/packages/terremoth/php-win32-dialog)[ RSS](/packages/terremoth-php-win32-dialog/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (5)Versions (2)Used By (0)

PHP Native Win32 Dialog GUI
===========================

[](#php-native-win32-dialog-gui)

Win32 GUI Message Boxes for PHP

It uses `MessageBoxExW` from `user32.dll`, unlocked by the power of PHP [FFI](https://www.php.net/manual/en/book.ffi.php)

*Not because we must do it, but because we can!*

Made by [Terremoth](https://github.com/terremoth/) with ⚡ &amp; ❤

[![CodeCov](https://camo.githubusercontent.com/1d1918cc05d424b6819b0570f58310251d8d6f15ce44486b64f5fcccd670de23/68747470733a2f2f636f6465636f762e696f2f67682f74657272656d6f74682f7068702d77696e33326469616c6f672f67726170682f62616467652e7376673f746f6b656e3d544f4b454e)](https://app.codecov.io/gh/terremoth/php-win32dialog)[![Psalm type coverage](https://camo.githubusercontent.com/6c42059b41feab7629ad2fba0c666c03838dc5a86d24daf6c5d16cdfabca33d8/68747470733a2f2f73686570686572642e6465762f6769746875622f74657272656d6f74682f7068702d77696e33326469616c6f672f636f7665726167652e737667)](https://shepherd.dev/github/terremoth/php-win32dialog)[![Psalm level](https://camo.githubusercontent.com/6766fe7ce9962d8808a5fc43a96f9a17956b20ee28c29004d94d9314237add97/68747470733a2f2f73686570686572642e6465762f6769746875622f74657272656d6f74682f7068702d77696e33326469616c6f672f6c6576656c2e737667)](https://shepherd.dev/github/terremoth/php-win32dialog)[![Test Run Status](https://github.com/terremoth/php-win32dialog/actions/workflows/workflow.yml/badge.svg?branch=main)](https://github.com/terremoth/php-win32dialog/actions/workflows/workflow.yml)[![Test Coverage](https://camo.githubusercontent.com/8ad53ceb7abaebf41577c6c0a87faf2f755140d7de3fd5da05415ecf91a0bda4/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f65303566346334653432386136303931623134612f746573745f636f766572616765)](https://codeclimate.com/github/terremoth/php-win32dialog/test_coverage)[![Codacy Badge](https://camo.githubusercontent.com/d343eae1ff4ddf59d7b04894ba7b6615168adfe96684cfe5424719b347601d7b/68747470733a2f2f6170702e636f646163792e636f6d2f70726f6a6563742f62616467652f47726164652f6265613739376133666264373431336161323261393634393965376631333262)](https://app.codacy.com/gh/terremoth/php-win32dialog/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade)[![Maintainability](https://camo.githubusercontent.com/e272684b765cea2c6ca6348003f5de83bf81962ab1650b89ca0b7fe30ff2ea0f/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f65303566346334653432386136303931623134612f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/terremoth/php-win32dialog/maintainability)[![License](https://camo.githubusercontent.com/ce3664c1faa49859b4b5b96168b9b0961484cbbe0d65ea9a65a9d94624f1a7fc/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f74657272656d6f74682f7068702d77696e33326469616c6f672e7376673f6c6f676f3d676e7526636f6c6f723d343162623133)](https://github.com/terremoth/php-win32dialog/blob/main/LICENSE)

See [demos/demo.php](demos/demo.php) for examples.

[![image](https://private-user-images.githubusercontent.com/11032344/385194524-79af50af-be2c-4de8-93a0-dd1980f1fa89.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ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clMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwNDA3VDIxMDkwMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWMwYTBhZDU2N2YyMTE2MDEyZGYyZDM0Y2NlMDQyYTdhOTZlNTQ4YTJhZGMzYWMyZWNkYzU0NzVjZmY3NWQxZTAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.MbvaUnEg984ZCDCN1tGNbt3PG0C25SQ8SPN56cCJIo4)[![image](https://private-user-images.githubusercontent.com/11032344/385194636-bd5a964c-1b1c-41a0-a096-6fb22c022de7.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzU1OTY0NDIsIm5iZiI6MTc3NTU5NjE0MiwicGF0aCI6Ii8xMTAzMjM0NC8zODUxOTQ2MzYtYmQ1YTk2NGMtMWIxYy00MWEwLWEwOTYtNmZiMjJjMDIyZGU3LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjA0MDclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwNDA3VDIxMDkwMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTgzNWZlNzU4YTFiZDU4NWE0NmI0ODRlMDQ2NWEzMzMxNmJiODY5MWFjMjE0MWFmMTU2NWNhNzg1ZDQ4YmM5YjImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.dfZeQFRU08AUlz6nu1bpwXgi7hNUiW3foFWjeyxyI68)](https://private-user-images.githubusercontent.com/11032344/385194636-bd5a964c-1b1c-41a0-a096-6fb22c022de7.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzU1OTY0NDIsIm5iZiI6MTc3NTU5NjE0MiwicGF0aCI6Ii8xMTAzMjM0NC8zODUxOTQ2MzYtYmQ1YTk2NGMtMWIxYy00MWEwLWEwOTYtNmZiMjJjMDIyZGU3LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjA0MDclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwNDA3VDIxMDkwMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTgzNWZlNzU4YTFiZDU4NWE0NmI0ODRlMDQ2NWEzMzMxNmJiODY5MWFjMjE0MWFmMTU2NWNhNzg1ZDQ4YmM5YjImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.dfZeQFRU08AUlz6nu1bpwXgi7hNUiW3foFWjeyxyI68)

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance38

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

553d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/c78ff7b98290627988e65a7dd9d079fb6fe2f4386e901345d4d1eb24138bf6ff?d=identicon)[terremoth](/maintainers/terremoth)

---

Top Contributors

[![terremoth](https://avatars.githubusercontent.com/u/11032344?v=4)](https://github.com/terremoth "terremoth (7 commits)")

---

Tags

dialogffimessageboxphp-ffiwin32win32-apiwin32apilibraryguidialogmessageboxwin32message-boxesmessageboxesnative-app

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/terremoth-php-win32-dialog/health.svg)

```
[![Health](https://phpackages.com/badges/terremoth-php-win32-dialog/health.svg)](https://phpackages.com/packages/terremoth-php-win32-dialog)
```

###  Alternatives

[league/iso3166

ISO 3166-1 PHP Library

70036.3M116](/packages/league-iso3166)[payum/iso4217

ISO 4217 PHP Library

16312.1M5](/packages/payum-iso4217)[kartik-v/yii2-dialog

An asset bundle for bootstrap3-dialog for Yii 2.0 framework.

496.2M18](/packages/kartik-v-yii2-dialog)[dekor/php-array-table

PHP Library for printing associative arrays as text table (similar to mysql terminal console)

296.6M2](/packages/dekor-php-array-table)[cybercog/laravel-paket

Composer personal web interface. Manage Laravel dependencies without switching to command line!

1753.3k](/packages/cybercog-laravel-paket)

PHPackages © 2026

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