Skip to content

DevShaded/electron-laravel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ElectronJS Plus Icon Laravel Logo

❗ This GitHub repository uses deprecated npm packages

Electron JS with Laravel

PHP VERSION: 7.4.11, LARAVEL VERSION 8x

Requirements

  • PHP installed on your computer (7.4 or higher)
  • Composer
  • Laravel
  • NodeJs (Recommended installing the LTS version instead of the current version)
  • You will need also NPM (The Node Package Manager comes with the nodejs installation)

How to Install

  • First download this Laravel with ElectronJS Repository
  • Then open your terminal and go into the project
  • Run command npm install
  • Then go into the www folder
  • Run command php -r "file_exists('.env') || copy('.env.example', '.env');"
  • Run command composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist
  • Run command php artisan key:generate

How to run

  • Run Command npm start electron . in the root folder not the www folder

And you are done!

Stuck? Message me on Discord! DevShaded#1435 or make an issue in the issue tab!