⚠️
NativePHP is currently an alpha release and is not ready for production applications
yet.
Installation
#Requirements
- PHP 8.1
- Laravel 10 or higher
- NPM
- Linux/MacOS
#Installation
1composer require nativephp/electron
#Install Laravel
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.