Laravel | PHP Desktop Application using Electron? [ELECTRON-4-PHP]
Вставка
- Опубліковано 27 бер 2020
- We Wrapped a PHP Web Application in Electron, using an awesome project at github.com/AJ-TechSoul/ELECTR... by the name of "ELECTRON-4-PHP".
Laravel | PHP Desktop Application using Electron? [ELECTRON-4-PHP] - Наука та технологія
Interesting
@theGimmicBox i m happy that you are using this. I m going to add your video link in Github as laravel implementation. I hope you find it interesting.
+AJ Production Thank you for your Project and it was very Clever of you. I've successfully packaged it for windows and linux, and it simply worked as expected. Thanks again, really appreciate your work.
@@theGimmickBox You know something, i was always had in mind that this project will work or not, and when i see its working then i am more happy than anyone. :-) Well the grey areas of this project, always make me think a new better version of this, but unfortunately i could not replicate the same. You know how hard it is to fix something on assumption. Create an issue so that i can get proper data to replicate the same. you can tell that to your viewers also. As i am always ready to help. :-)
github.com/AJ-TechSoul/ELECTRON-4-PHP/#laravel-in-electron-4-php
+AJ Production I've tried it in few areas and haven't had a single problem since. If I ever feel something is wrong, I'll open an issue in the project's repo. Thank you.
@ajproductionKhasi @thegimmickbox --- I created PHP desktop app with PHP-Desktop as well, tried with this , but how we can hide resources folder where all code is available, we can't share only exe to customer, to install exe we need resources folder too, any way to hide/encrypt or remove it?
I have some doubts 1. Can I capture automatic screenshot
every x seconds 2. Can I know the app and domain usage like domain.com spend 5 hours, photoshop spend 2 hours, skype 30
minutes.like that
Can't you keep all the laravel files in the directory and then just reference there?
what version of node.js in this video?
What about the database? How to interrogate MySQL database? You show just basic laravel. And how to compile it to exe file?
very good tutorial, are the same for symfony??
how is the database connected please
Hello from France !
Does it still work today?
how to connect with Mysql?
So you can build Desktop applications using Electron with PHP, but what about making these application cross-platform compatible? Will they run on Windows, MAC, & Linux as well?
Electron can package for either windows or osx you can look up their official documentation
what about database?
@theGimmicBox, what linux distro are you using?
I'm using elementaryOS.
@theGimmickBox what operating system do you have installed there?
It's the ElementaryOS
hi there how do u configure mysql with the project could u pls show or explain
i think because he used electron AFTER he finished the project, you can just configure the database setting like you usually setting it in laravel
hi, tried to do the installer and it failed .. any suggestion please
Use npm. Follow the documentation properly. What error you facing ?
how to automate npm start
What os are you running
+NappDev I'm running elementary OS, but the desktop application is platform independent.
i have an error: it display PHP server not started. Retrying... while the app its running so PHP dont work, can i have help Thanks !
me too!!
I had the same problem. I found out that you have to add the line [ php: "php/php.exe", ] in the "main.js" file when defining the PHPServer.
const server = new PHPServer({
php: "php/php.exe", //
@@MysticWhiteDragon. thank you it work !! 👍👍
@@MysticWhiteDragon. great man ...thanks
how i can make .exe
Hola @theGimmickBox !, muy interesante! te consulto, como puedo empaquetar en un exe correctamente?, intente usar electron-builder pero me informa un error. Muchas graciasss
yarn package-win
Electrón corre php???
can i do this using vanilla php
Yes ! Of-course !
npm start not working
same
@@rawrrawr-ns7ck Sane here
nice tutorial but can you make a video to create a executable file or installer for windows??
+Bryan Belardo yes, ofcourse...we'll.
no response after "npm start"
Did you find any solution?