boson-php/runtime

PHP WebView runtime

0.9.0 2025-05-08 18:08 UTC

This package is auto-updated.

Last update: 2025-05-12 15:49:16 UTC


README

PHP 8.4+ Latest Stable Version Latest Unstable Version License MIT MetaStorm

Telegram

Why Boson? Because it's not an Electron! And much easier than that =)

By the way, there is more information about the project in the documentation.

Also, this repository contains included high level PHP bindings for Saucer v6.0.

Application Example

$app = new Boson\Application();

$app->webview->html = <<<'HTML'
    <button onclick="foo('HELLO');">Hello</button>
    HTML;

$app->webview->bind('foo', var_dump(...));

$app->run();

Installation

Boson package is available as Composer repository and can be installed using the following command in a root of your project:

$ composer require boson-php/runtime

Documentation

This documentation corresponds to the latest release (see https://github.com/BosonPHP/runtime/tags). Behavior and code in the master branch may differ from what is shown below.

Community

Contributing

Boson is an Open Source, community-driven project. Join them contributing code.