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.
$app = new Boson\Application();
$app->webview->html = <<<'HTML'
<button >Hello</button>
HTML;
$app->webview->bind('foo', var_dump(...));
$app->run();
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
- You can learn more about what a Boson is.
- Information about the configs is available on the corresponding pages.
- A more detailed description of working with the application, windows and webview is also available.
- Also, do not miss the detailed guide on additional apps for working with functions, scripts, requests, and more.
- If you want to build an application based on Symfony, Laravel and others, then similar functionality is also available.
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.
- Any questions left? You can ask them
in the chat
t.me/boson_php
!
Boson is an Open Source, community-driven project. Join them contributing code.