boson-php / app
The skeleton application for the Boson
Installs: 25
Dependents: 0
Suggesters: 0
Security: 0
Stars: 4
Watchers: 0
Forks: 1
Open Issues: 0
Type:project
Requires
- php: ^8.4
- boson-php/http-static-provider: ^0.18
- boson-php/runtime: ^0.18
- boson-php/webview-ext-web-components: ^0.18
Requires (Dev)
- boson-php/compiler: ^0.18
- ffi/var-dumper: ^1.0
- friendsofphp/php-cs-fixer: ^3.88
- phpstan/phpstan: ^2.1
- phpstan/phpstan-strict-rules: ^2.0
- phpunit/phpunit: ^12.3
- symfony/var-dumper: ^7.3
This package is auto-updated.
Last update: 2025-09-25 21:43:09 UTC
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:
cd boson
php index.php
The desktop application will open.
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:
composer 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
- Any questions left? You can ask them
in the chat
t.me/boson_php
!
Contributing
Boson is an Open Source, community-driven project. Join them contributing code.