Boson Documentation

repository·master·Indexed 20 days ago

https://github.com/boson-php/boson

A lightweight alternative to Electron for building desktop applications using PHP. Boson provides a runtime and high-level PHP bindings for Saucer v6.0 to manage windows, webviews, and application logic. It includes a variety of components and framework adapters for Symfony, Laravel, Spiral, and PSR-7 compliant frameworks. Requires PHP 8.4 or higher.

Tokens
12K
Snippets
61
Records
75
Agent score
67%

What's inside Boson

  1. Overview of Boson PHP Components

    master
    Boson is a modular ecosystem of PHP components. You can use individual packages to add specific capabilities to your project, such as HTTP handling, URI management, or system information retrieval. The components are categorized into functional implementations and contract-based interfaces (prefixed with contracts) to allow for decoupled and interoperable architectures.
  2. Explore PSR-HTTP Bridge documentation and adapters

    master

    The psr-http-bridge is part of the broader Boson ecosystem. For detailed implementation guides, refer to the official documentation for the following core concepts:

    • Core Boson Concepts: Introduction to Boson, application lifecycle, windows, and webviews.
    • Configuration: Detailed guides on application configuration.
    • Advanced APIs: Working with function bindings, scripts, and request interception (schemes).
    • Framework Adapters: If you are building applications within specific frameworks, use the dedicated adapters for:
      • Symfony
      • Laravel
      • PSR-7 (and other PSR-7 compliant implementations)
  3. Access Boson documentation and guides

    master

    Comprehensive documentation for Boson is available online. Key areas include: