定制 boson-php/app 二次开发

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

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

boson-php/app

最新稳定版本:0.19.0

Composer 安装命令:

composer create-project boson-php/app

包简介

The skeleton application for the Boson

README 文档

README

Installation

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

composer create-project boson-php/app boson --prefer-dist

After installation, navigate to your project directory and run the application:

php index.php

The desktop application will open.

Linux macOS Windows

Note that BosonPHP is a tool for creating desktop applications, so you don't need a web server or browser - just run the PHP script directly from the console.

Compilation

Once you've finished developing your application, you can compile it into a native executable:

php vendor/bin/boson compile

The compiled executable will be available in the build/ directory for your platform. You can configure which platforms to compile for in the boson.json file.

Other Commands

Tests

composer test:unit
composer test:feature
composer test:integration

# or all tests:
composer test

Code Analyse

composer linter

Code Style Analyse

composer phpcs:fix

# or check only:
composer phpcs:check

Links

Community

Contributing

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

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-08-20