serafim/boson

This package is abandoned and no longer maintained. The author suggests using the boson-php/runtime package instead.

Boson Kernel Monorepo

0.13.0 2025-06-05 09:43 UTC

This package is auto-updated.

Last update: 2025-06-05 11:25:52 UTC


README

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

Components

Component Description Status
boson-php/http-bridge Base component for integrating HTTP functionality with various frameworks version tests
boson-php/symfony-http-bridge Adapter for integrating with Symfony HTTP component version tests
boson-php/laravel-http-bridge Adapter for integrating with Laravel HTTP component version tests
boson-php/psr-http-bridge Adapter for integrating with PSR-7 HTTP component version tests
boson-php/compiler Compiler for PHP code optimization version tests
boson-php/cpu-info Component for retrieving CPU information version tests
boson-php/globals-provider Provider for working with PHP global variables version tests
boson-php/runtime Core component for running applications version tests
boson-php/http Base HTTP component version tests
boson-php/http-body-decoder Decoder for HTTP request body version tests
boson-php/http-static-provider Provider for working with static files version tests
boson-php/os-info Component for retrieving operating system information version tests
boson-php/weak-types Component for working with weak references version tests
boson-php/http-contracts Interfaces for HTTP components version tests

Community

Contributing

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