- PHP 8.1
- Laravel 10 or higher
1composer require nativephp/electron
NativePHP is a Laravel Package. You can install it on an existing Laravel application, or start a new one
#Run the installer
The NativePHP installer takes care of publishing the NativePHP service provider, which takes care of bootstrapping your native application. It also publishes the NativePHP configuration file.
1php artisan native:install
#Start the development server
1php artisan native:serve
And that's it! You should now see your application running in a native desktop window.