PHPackages                             clue/zenity-react - 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. [Queues &amp; Workers](/categories/queues)
4. /
5. clue/zenity-react

ActiveLibrary[Queues &amp; Workers](/categories/queues)

clue/zenity-react
=================

Zenity allows you to build graphical desktop (GUI) applications in PHP, built on top of ReactPHP.

v0.4.4(5y ago)12434822[13 issues](https://github.com/clue/reactphp-zenity/issues)MITPHPPHP &gt;=5.3CI failing

Since Sep 6Pushed 2y ago12 watchersCompare

[ Source](https://github.com/clue/reactphp-zenity)[ Packagist](https://packagist.org/packages/clue/zenity-react)[ Docs](https://github.com/clue/reactphp-zenity)[ Fund](https://clue.engineering/support)[ GitHub Sponsors](https://github.com/clue)[ RSS](/packages/clue-zenity-react/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (9)Dependencies (5)Versions (10)Used By (0)

clue/reactphp-zenity
====================

[](#cluereactphp-zenity)

[![CI status](https://github.com/clue/reactphp-zenity/actions/workflows/ci.yml/badge.svg)](https://github.com/clue/reactphp-zenity/actions)[![installs on Packagist](https://camo.githubusercontent.com/dbe85080898bd1aa664463ada7dac0d10f74f51238ebc8ac9d84c1ee6a6d3c2f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f636c75652f7a656e6974792d72656163743f636f6c6f723d626c7565266c6162656c3d696e7374616c6c732532306f6e2532305061636b6167697374)](https://packagist.org/packages/clue/zenity-react)

Zenity allows you to build graphical desktop (GUI) applications in PHP, built on top of [ReactPHP](https://reactphp.org/).

[![https://help.gnome.org/users/zenity/3.24/question.html](https://camo.githubusercontent.com/64fbbcf88274da82e809b4b6db2c7f117d970e091ae4c20810ec24fa753985d8/68747470733a2f2f68656c702e676e6f6d652e6f72672f75736572732f7a656e6974792f332e32342f666967757265732f7a656e6974792d7175657374696f6e2d73637265656e73686f742e706e67)](https://camo.githubusercontent.com/64fbbcf88274da82e809b4b6db2c7f117d970e091ae4c20810ec24fa753985d8/68747470733a2f2f68656c702e676e6f6d652e6f72672f75736572732f7a656e6974792f332e32342f666967757265732f7a656e6974792d7175657374696f6e2d73637265656e73686f742e706e67)

[Zenity](https://help.gnome.org/users/zenity/3.24/) is a small program that allows creating simple GTK+ dialogs from within command line scripts. Zenity already ships with Ubuntu-based distributions and does not require any installation there - so this library should work out of the box. Otherwise you may have to [install Zenity](#install) yourself. This library provides an easy to use wrapper to spawn Zenity processes to build graphical desktop applications with PHP.

**Table of contents**

- [Support us](#support-us)
- [Quickstart example](#quickstart-example)
- [Usage](#usage)
    - [Launcher](#launcher)
        - [setBin()](#setbin)
        - [waitFor()](#waitfor)
        - [launch()](#launch)
        - [launchZen()](#launchzen)
    - [Builder](#builder)
    - [Dialog](#dialog)
        - [AbstractDialog](#abstractdialog)
        - [CalendarDialog](#calendardialog)
        - [ColorSelectionDialog](#colorselectiondialog)
        - [EntryDialog](#entrydialog)
        - [ErrorDialog](#errordialog)
        - [FileSelectionDialog](#fileselectiondialog)
        - [FormsDialog](#formsdialog)
        - [InfoDialog](#infodialog)
        - [ListDialog](#listdialog)
        - [NotificationDialog](#notificationdialog)
        - [PasswordDialog](#passworddialog)
        - [QuestionDialog](#questiondialog)
        - [ScaleDialog](#scaledialog)
        - [TextInfoDialog](#textinfodialog)
        - [WarningDialog](#warningdialog)
- [Install](#install)
- [License](#license)

Support us
----------

[](#support-us)

We invest a lot of time developing, maintaining and updating our awesome open-source projects. You can help us sustain this high-quality of our work by [becoming a sponsor on GitHub](https://github.com/sponsors/clue). Sponsors get numerous benefits in return, see our [sponsoring page](https://github.com/sponsors/clue)for details.

Let's take these projects to the next level together! 🚀

Quickstart example
------------------

[](#quickstart-example)

Once [installed](#install), you can use the following code to open a prompt asking the user for his name and presenting it in another info dialog.

```
