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/symfony-bundle
- Add bundle into the registered
config/bundles.php
list:
<?php
return [
// ...
Boson\Bridge\Symfony\BosonBundle::class => ['all' => true],
];
- Use the
APP_RUNTIME
environment variable or by specifying theextra.runtime.class
incomposer.json
to set the Runtime class:
{
"require": {
"...": "..."
},
"extra": {
"runtime": {
"class": "Boson\\Bridge\\Symfony\\Runtime\\BosonRuntime"
}
}
}
- Initialize default configuration:
php ./bin/console config:dump-reference boson > config/packages/boson.yaml
- 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 function bindings, scripts, request interception, and more.
- If you want to build an application based on Symfony, Laravel and others, then similar functionality is also available.
- 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.