serafim/boson
最新稳定版本:0.19.5
Composer 安装命令:
composer require serafim/boson
包简介
Boson Kernel Monorepo
README 文档
README
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
You can find a detailed example application in the Boson Application repository.
- You should download the app using
composer create-project boson-php/app - Then:
- Run it using
php index.php - Or compile it using
php vendor/bin/boson compile
| Linux | macOS | Windows |
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
- 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.
Components
| Component | Description | Status |
|---|---|---|
| boson-php/compiler | Allows you to compile a project into a executable | |
| boson-php/cpu-info | Provides general information about the CPU | |
| boson-php/globals-provider | Emulates the behavior of global PHP variables | |
| boson-php/http | Provides basic HTTP structure | |
| boson-php/http-body-decoder | Decoder for HTTP request body | |
| boson-php/http-static-provider | Provides the ability to easily handle static files | |
| boson-php/os-info | Provides general information about the operating system | |
| boson-php/pasm | Provides cross-platform implementation of the PHP asm executor | |
| boson-php/runtime | Core component for running applications | |
| boson-php/saucer | FFI Saucer Bindings | |
| boson-php/uri | Provides data structures for URI | |
| boson-php/uri-factory | Provides list of factory classes to parse and create URI instances | |
| boson-php/weak-types | Provides data types for working with weak references | |
| boson-php/event-listener-contracts | Generic event listener component interfaces | |
| boson-php/http-contracts | Generic HTTP component interfaces | |
| boson-php/id-contracts | A set of interfaces that provide ID value objects | |
| boson-php/uri-contracts | A set of interfaces that provide data about the URI of objects | |
| boson-php/uri-factory-contracts | A set of interfaces that provide the ability to create URIs | |
| boson-php/value-object-contracts | A set of interfaces that provide variadic value objects |
Extensions
| Extension | Context | Description | Status |
|---|---|---|---|
| boson-php/app-ext-alert | Application | Adds support for the Alert (MessageBox) API | |
| boson-php/webview-ext-battery | WebView | Adds support for the Battery API | |
| boson-php/webview-ext-network | WebView | Adds support for the Network API | |
| boson-php/webview-ext-web-components | WebView | Adds support for the Web Components API |
Bridges
| Bridge | Description | Status |
|---|---|---|
| boson-php/http-bridge | Base component for integrating HTTP functionality with various frameworks | |
| boson-php/laravel-http-bridge | Adapter for integrating with Laravel HTTP component | |
| boson-php/laravel-provider | Boson Service Provider & Runtime for Laravel Framework | |
| boson-php/psr-http-bridge | Adapter for integrating with PSR-7 HTTP component | |
| boson-php/spiral-bridge | Boson Bootloader & Runtime for Spiral Framework | |
| boson-php/symfony-bundle | Boson Bundle & Runtime for Symfony Framework | |
| boson-php/symfony-http-bridge | Adapter for integrating with Symfony HTTP component |
Community
Any questions left? You can ask them:
Contributing
Boson is an Open Source, community-driven project. Join them contributing code.
serafim/boson 适用场景与选型建议
serafim/boson 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 21 次下载、GitHub Stars 达 629, 最近一次更新时间为 2024 年 05 月 24 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 serafim/boson 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 serafim/boson 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 21
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 629
- 点击次数: 8
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-05-24