定制 boson-php/spiral-bridge 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

boson-php/spiral-bridge

最新稳定版本:0.19.5

Composer 安装命令:

composer require boson-php/spiral-bridge

包简介

Boson Runtime for Symfony Framework

README 文档

README

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

Installation

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

composer require boson-php/spiral-bridge

Create boson.php configuration file with the following content:

<?php

declare(strict_types=1);

/**
 * @see \Boson\Bridge\Spiral\Config\BosonConfig
 */
return [
    /**
     * List of directories to serve static files from.
     */
    'static' => [
        'app/public',
    ],

    /**
     * The start application URL.
     */
    'init-url' => 'http://localhost/',

    /**
     * Application create configuration.
     */
    'application' => new \Boson\ApplicationCreateInfo(
        schemes: ['http'],
        debug: false,
        window: new \Boson\Window\WindowCreateInfo(
            title: 'My Application',
            resizable: true,
            webview: new \Boson\WebView\WebViewCreateInfo(
                contextMenu: true,
            ),
        ),
    ),
];

Add bootloader BosonBootloader to your Spiral application.

Documentation

Community

Contributing

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

统计信息

  • 总下载量: 19
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-07-22