PHP code example of serafim / boson
1. Go to this page and download the library: Download serafim/boson library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
serafim / boson example snippets
$app = new Boson\Application();
$app->webview->html = <<<'HTML'
<button onclick="foo('HELLO');">Hello</button>
HTML;
$app->webview->bind('foo', var_dump(...));
bash
composer