Skip to content

zsolt0005/electron-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Electron with PHP


Make desktop application using Electron and PHP.

Requirements

  • Node 9.0.0 or higher

Setup

  • Run npm install in the root directory
  • To start the application run npm start

PHP

  • PHP 8.2 is included, you can replace the php folder with your desired php version.

!Important - In the php.ini it is necessary to have the extension_dir = "ext" uncommented, otherwise it will load the extension from the location you have installed PHP locally

Communication between electron main thread and PHP

As of now, you can not access function that will help you trigger events on the main thread.
You can still use javascript though.

About

Desktop applications with electron and PHP

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published