NativePHP only supports Linux and MacOS: https://nativephp.com/docs/1/getting-started/installation
Jan 20, 2024
6
Level 1
Issue Installing NativePHP with Laravel 10 on Windows
Hello everyone,
I am currently experimenting with the new PHP framework, NativePHP, to develop desktop applications using Laravel 10 with PHP version 8.1. I am running on a Windows system.
Here are the steps I followed:
- I created a new Laravel project with the command:
composer create-project laravel/laravel example-app. - I navigated to the project directory with the command:
cd example-app. - Next, I installed the NativePHP/Electron package with the command:
composer require nativephp/electron, and the installation went smoothly. - Finally, I attempted to install NativePHP with the command:
php artisan native:install. However, the process seems to get stuck after displaying "Publishing NativePHP ServiceProvider" and remains in a waiting state without progressing.
I am aware that NativePHP is currently in alpha and unstable, but I have heard that some have managed to get it working. Has anyone encountered this issue before and could guide me towards a solution?
Any help would be greatly appreciated. Thanks in advance!
Please or to participate in this conversation.