⚠️ NativePHP is currently an alpha release and is not ready for production applications yet.

Publishing Your App

Publishing your app is similar to building, but in addition NativePHP will upload the build artifacts to your chosen updater provider automatically.

Running a build

1php artisan native:publish

This will build for the platform and architecture where you are running the build.


You can also specify a platform to build for by passing the os argument, so for example you could build for Windows whilst on a Mac:

1php artisan native:publish win

Possible options are: mac, win, linux.

Cross-compilation is not supported on all platforms.