An open API service indexing awesome lists of open source software.

https://github.com/boson-php/symfony-bundle

Boson Runtime for Symfony Framework
https://github.com/boson-php/symfony-bundle

Last synced: 11 months ago
JSON representation

Boson Runtime for Symfony Framework

Awesome Lists containing this project

README

          



---


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




## Installation

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

```bash
composer require boson-php/symfony-bundle
```

- Add bundle into the registered `config/bundles.php` list:
```php
['all' => true],
];
```

- Use the `APP_RUNTIME` environment variable or by specifying the
`extra.runtime.class` in `composer.json` to set the
[Runtime](https://symfony.com/doc/current/components/runtime.html) class:
```json
{
"require": {
"...": "..."
},
"extra": {
"runtime": {
"class": "Boson\\Bridge\\Symfony\\Runtime\\BosonRuntime"
}
}
}
```

- Initialize default configuration:
```php
php ./bin/console config:dump-reference boson > config/packages/boson.yaml
```

## Documentation

- You can learn more [about what a Boson is](https://bosonphp.com/introduction.html).
- Information [about the configs](https://bosonphp.com/configuration.html) is
available on the [corresponding pages](https://bosonphp.com/application-configuration.html).
- A more detailed description of working with the [application](https://bosonphp.com/application.html),
[windows](https://bosonphp.com/window.html) and [webview](https://bosonphp.com/webview.html)
is also available.
- Also, do not miss the detailed guide on additional apps for working with
[function bindings](https://bosonphp.com/bindings-api.html),
[scripts](https://bosonphp.com/scripts-api.html),
[request interception](https://bosonphp.com/schemes-api.html), and more.
- If you want to build an application based on
[Symfony](https://bosonphp.com/symfony-adapter.html),
[Laravel](https://bosonphp.com/laravel-adapter.html) and
[others](https://bosonphp.com/psr7-adapter.html),
then similar functionality is also available.

## Community

- Any questions left? You can ask them
[in the chat `t.me/boson_php`](https://t.me/boson_php)!

## Contributing

Boson is an Open Source, [community-driven project](https://github.com/boson-php/boson/graphs/contributors).
Join them [contributing code](https://bosonphp.com/contribution.html).