Skip to content

boson-php/symfony-bundle

Repository files navigation


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:

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 the extra.runtime.class in composer.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

Documentation

Community

Contributing

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

About

Boson Runtime for Symfony Framework

Resources

License

Stars

Watchers

Forks

Languages