Build laravel desktop applications using Electron JS.
- php 7.4 or higher
- NodeJS 7.17 or higher
- Electron
- Electron-Packager
- Laravel 8
This repository requires NodeJS 16.4.2 & Laravel 8 or higher to run.
# Clone this repository
git clone https://github.com/giusniyyel/electron-laravel.git
# Go into the repository
cd electron-laravel
# Install dependencies
npm install
# Create your laravel project (you should use www as project name)
laravel new www
# Run the app
npm start
If you need to make some modifications of the PHP Server you can check PHP Server Manager Documentation
The default index.php
is found in laravel project public folder (/www/public
by default), you can change it in // server configuration
section which is in main.js
file.
I really apreaciate this repositories for the help
- Mark Lee (Electron-Packager)
- AJ-TechSoul (Electron 4 PHP)
- Oscar Otero (PHP Server Manager)
- Haruncpi (laravel-electron)
- Electron JS
Typed with โค๏ธ by Daniel Campos ๐