/laravel_electron

Write in Laravel that will convert into electron app .We used sqlite for local database

Primary LanguagePHP

Laravel and Electron Setup

Installation

  git clone https://github.com/hareom284/laravel-electron.git
 cd laravel-electron
  npm install
 cd www

copy your all folder under php directory and paste it here in php directory this step is configure all your php related dependencies to work and run laravel and you don't need to start xampp

✨✨You can find php folder under the directory of xampp or lampp✨✨

 composer install
 cp .env.example .env
 php artisan migrate
 cd ..
 npm run electron:start

Congratulation 🎉! You are app is running now!Go to www directory edit start working on laravel project and that can build electron app

Build into exe file

 npm run electron:build

you must have in laravel-electron direcory

Tech Stack

  • sqlite
  • electron-builder
  • laravel