Hello there? How are you? Ever wondered if it was possible to turn that lovely Laravel project of yours into a desktop app. Well this tutorial if for you.
I will show you guys how to turn a Laravel app into a desktop app. Lets dive in...
If you want to turn Laravel into a Mac Desktop App, then type the following:
git clone https://github.com/blackgeneration/Laravel-Electron-For-MAC-OS.git
If you want to turn laravel into a Windows Desktop App, the type the following:
git clone https://github.com/laravelarticle/laravel-electron.git
Navigate into the project (
cd folder_name) and install dependencies:
npm install OR
This will install all required dependencies...
To run the project simple type:
npm start OR
For MAC OS users preface these commands with
sudo like this:
sudo npm start OR
sudo yarn start
This should start your project successfully....
You should see something like
Laravel Version So and So
PHP Version So and So
By the way the Laravel version used is 6 and PHP version is 7.2