References Getting Started Getting Started Architecture Architecture Application Application Window Window WebView WebView Deployment Deployment Components Components Framework Integrations Framework Integrations Examples Examples Community Community github GitHub github Get Started arrow_up_right
Getting Started Getting Started Architecture Architecture Application Application Window Window WebView WebView Deployment Deployment Components Components Framework Integrations Framework Integrations Examples Examples Community Community

Deployment

Introduction Configuration Building Getting Started Architecture Application Window WebView Deployment Components Framework Integrations Examples Community

Building

To build an executable application file, you should use the compile command.

php vendor/bin/boson compile

After running the command you will get something like the following result:

This command will compile your application into single executable file. This is enough to distribute the application. NO dependencies (php, node, electron, etc.) are required anymore. Everything you need will already be included inside and ready to work!

Cross-compilation

The following platforms and architectures are available for building the application:

  • Windows
    • amd64 (x86_64)
  • Linux
    • amd64 (x86_64)
    • aarch64 (arm64)
  • macOS
    • amd64 (x86_64)
    • aarch64 (arm64)

The same applies to boson-php/runtime. At the moment, only these platforms are supported, even if you distribute the application as source code, without building.

github discord telegram Get started Documentation Contribution Guide License Release Notes BOSON PHP © 2025. All Rights Reversed.