Create Linux Desktop Apps using PHP Desktop

Create Linux Desktop Apps using PHP Desktop 8
Ankur Guptahttps://antarjaal.in
Web developer by profession, Over 10 years experience of building websites and web applications. Currently working on Epaper CMS Cloud (Software As Service based product). Special interest in computer and technology. After writing on the blogger platform for years, started his own tech portal Antarjaal.In.

Through PHP Desktop we can turn our PHP Web Application into a Desktop application. It will look very similar to desktop application. In the PHP Desktop, the Google Chrome browser, Web server, and PHP are all bundled together. When you execute it, a web server starts running automatically and a Chrome browser window opens with no address bar, menu etc. And a web page opens inside it. So it looks like a desktop application.

READ  Get Linux Commands Cheat sheet using TLDR

Initially PHP Desktop was only available for Windows. But now it is also available for Linux. However its Google Chrome does not update often. By the time this article is written, the last date for its update is 7 February 2019. If you are reading this article in future, then maybe a new version of it has come.

If you want to run a PHP application in PHP Desktop, then use SQLite for database.

How to install PHP application in PHP Desktop?

Step 1: Download the PHP desktop from the following link:
https://github.com/cztomczak/phpdesktop/releases/tag/linux-v72.0

READ  How to install Microsoft Teams in Linux

Step 2: Now extract it on any folder on your computer.

P‌HP Desktop for Linux. Turn PHP apps into Desktop apps

Step 3: Put copy your PHP files in www folder.

And that’s it. Now double click on the executable file of phpdesktop. And your PHP application will start running like a desktop application.

Create Linux Desktop Apps using PHP Desktop 2

From settings.json file you can adjust various parameters like the size of the window and its features such as source code may appear or not, whether or not Dev Tools will be available, etc.

READ  How to install Microsoft Teams in Linux
Create Linux Desktop Apps using PHP Desktop 4

If you want, you can also make closed source software of PHP using ioncube loader. Currently PHP Desktop is available with php 7.2.

https://github.com/cztomczak/phpdesktop

Reality of Unlimited Web Hosting

You must have often noticed that many web hosting companies offer unlimited shared hosting. Does Unlimited really mean Unlimited?...

More Articles Like This